X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=FastMmap.pm;h=7e48d932f0853924b47bd01657d4a5534798e1f8;hp=479b2881600973a86055e429e4f2cbdcd8d81f6c;hb=2ab0230bd699dd6c99c49057131db0970277f20e;hpb=5eccd0086a4649789d8210c050e34d041cbc3115 diff --git a/FastMmap.pm b/FastMmap.pm index 479b288..7e48d93 100644 --- a/FastMmap.pm +++ b/FastMmap.pm @@ -120,7 +120,7 @@ sub session { sub setup { my $self = shift; $self->config->{session}->{storage} ||= '/tmp/session'; - $self->config->{session}->{expires} ||= 60 * 60 * 24; + $self->config->{session}->{expires} ||= '1d'; $self->config->{session}->{rewrite} ||= 0; $self->_session(