Sha256: 894c5b3c62409160575c3c2694dece6c5eaa9227d2e7bbcac988b46363859920
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
# # testing ruote-redis # # Thu Apr 1 21:35:07 JST 2010 # require 'yajl' rescue require 'json' require 'rufus-json' Rufus::Json.detect_backend require 'redis' require 'ruote-redis' class RrLogger def method_missing (m, *args) super if args.length != 1 puts ". #{Time.now.to_f} #{Thread.current.object_id} #{args.first}" end end def new_storage(opts) #Ruote::Redis::Storage.new( # ::Redis.new(:db => 14, :thread_safe => true, :logger => RrLogger.new), # opts) Ruote::Redis::Storage.new( opts.merge('db' => 14, 'thread_safe' => true, 'pop_count' => 28)) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruote-redis-2.3.0 | test/connection.rb |