lib/cellect.rb in cellect-1.3.3 vs lib/cellect.rb in cellect-2.0.0.beta1
- old
+ new
@@ -1,7 +1,10 @@
require 'celluloid'
-require 'celluloid/io'
require 'cellect/version'
+require 'attention'
module Cellect
-
end
+
+Attention.options[:namespace] = 'cellect'
+Attention.options[:redis_url] = ENV['REDIS_URL'] if ENV['REDIS_URL']
+Attention.options[:ttl] = 20