From fb5040f9d0e507449c121ea50f100bdd96a8e9c4 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Wed, 7 Jul 2010 13:51:22 +0200 Subject: use local redis by default --- lib/presque.pm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lib/presque.pm') 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', -- cgit v1.2.3