Lower session lifetime cuz visitor counter
This commit is contained in:
parent
dfb27d3815
commit
29bf6f71e2
|
@ -43,7 +43,7 @@ under sub ($c) {
|
||||||
unless ($c->session('counted')) {
|
unless ($c->session('counted')) {
|
||||||
$c->counter->increment_visitor_count();
|
$c->counter->increment_visitor_count();
|
||||||
$c->session(
|
$c->session(
|
||||||
expiration => 86400,
|
expiration => 3600,
|
||||||
counted => 1
|
counted => 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue