aboutsummaryrefslogtreecommitdiffstats
path: root/src/redis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/redis.js')
-rw-r--r--src/redis.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/redis.js b/src/redis.js
new file mode 100644
index 00000000..85312c4e
--- /dev/null
+++ b/src/redis.js
@@ -0,0 +1,11 @@
+(function() {
+ var settings;
+
+ settings = {
+ port: 6379,
+ host: '127.0.0.1'
+ };
+
+ module.exports = require('redis').createClient(settings.port, settings.host);
+
+}).call(this);