about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-08 20:16:11 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-08 20:20:45 +0100
commit6c4c84b161947cb11ad0451a39e26b25be4c93d5 (patch)
treefa2a6f4aaff71fcf76c745a57cb7732102814871 /config/initializers
parentfe57f6330f089d023f0fa4db7f7c8a51551d2ee9 (diff)
Distrubute statuses as a fan-out-on-write system, with optional precomputing
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/redis.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb
new file mode 100644
index 000000000..14f3778c4
--- /dev/null
+++ b/config/initializers/redis.rb
@@ -0,0 +1 @@
+$redis = Redis.new(host: ENV['REDIS_HOST'] || 'localhost', port: ENV['REDIS_PORT'] || 6379)