lib/resque/one.rb in resque-one-1.0.1 vs lib/resque/one.rb in resque-one-1.1.0

- old
+ new

@@ -1,11 +1,20 @@ require 'resque' require 'consty' +require 'class_config' require_relative 'one/version' require_relative 'one/job_info' require_relative 'one/queue_locker' require_relative 'one/resque_ext' require_relative 'plugins/one' module Resque extend One::ResqueExt + + module One + extend ClassConfig + + attr_config :keyspace, 'resque-one' + attr_config :scan_count, 1000 + attr_config :lock_ttl + end end \ No newline at end of file