diff options
author | franck cuny <franck@lumberjaph.net> | 2010-07-07 13:51:22 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-07-07 13:51:22 +0200 |
commit | fb5040f9d0e507449c121ea50f100bdd96a8e9c4 (patch) | |
tree | 4f0a182c0e71d44bc7b60164acb8c8aa1f903fee | |
parent | update tests for worker_id; update REAMDE (diff) | |
download | presque-fb5040f9d0e507449c121ea50f100bdd96a8e9c4.tar.gz |
use local redis by default
-rw-r--r-- | lib/presque.pm | 12 |
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', |