Lower session lifetime cuz visitor counter

This commit is contained in:
swagg boi 2022-04-04 00:04:09 -04:00
parent dfb27d3815
commit 29bf6f71e2

View file

@ -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
); );
} }