Sha256: 72d52085cf8165cbf2f6d5296b8ee3eabe9f414b4ccbed38ed2e9206eec51c86
Contents?: true
Size: 230 Bytes
Versions: 2
Compression:
Stored size: 230 Bytes
Contents
require 'attention' Attention.options[:namespace] = ENV.fetch('ATTENTION_NAMESPACE', 'cellect') Attention.options[:redis_url] ||= ENV['REDIS_URL'] if ENV['REDIS_URL'] Attention.options[:ttl] = ENV.fetch('ATTENTION_TTL', 20).to_i
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cellect-client-2.0.0.beta2 | lib/cellect/attention.rb |
cellect-server-2.0.0.beta2 | lib/cellect/attention.rb |