about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/presque.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/presque.pm b/lib/presque.pm
index 50a0178..e173b0d 100644
--- a/lib/presque.pm
+++ b/lib/presque.pm
@@ -6,7 +6,17 @@ use AnyEvent::Redis;
 use Moose;
 extends 'Tatsumaki::Application';
 
-has config => (is => 'rw', isa => 'HashRef', lazy => 1, default => sub { });
+has config => (
+    is      => 'rw',
+    isa     => 'HashRef',
+    lazy    => 1,
+    default => sub {
+        redis => {
+            host => 'localhost',
+            port => 6379,
+        },
+    }
+);
 
 has redis => (
     is      => 'rw',