prepared for 0.12 of FastMmap
[catagits/Catalyst-Plugin-Session-State-Cookie.git] / FastMmap.pm
index 94886f4..35c3a2e 100644 (file)
@@ -120,7 +120,7 @@ sub session {
 sub setup {
     my $self = shift;
     $self->config->{session}->{storage} ||= '/tmp/session';
-    $self->config->{session}->{expires} ||= '1d';
+    $self->config->{session}->{expires} ||= 60 * 60 * 24;
     $self->config->{session}->{rewrite} ||= 0;
 
     $self->_session(