Config name fixes.
This commit is contained in:
parent
ce6f725091
commit
94bfe29911
@ -586,7 +586,7 @@ sub session_cleanup {
|
||||
my $timelimit = $now - $self -> {"auth"} -> get_config("session_length");
|
||||
|
||||
# We only want to run the garbage collect occasionally
|
||||
if($self -> {"settings"} -> {"config"} -> {"Session:lastgc"} < $now - $self -> {"auth"} -> get_config("Session:session_gc")) {
|
||||
if($self -> {"settings"} -> {"config"} -> {"Session:lastgc"} < $now - $self -> {"auth"} -> get_config("Session:lastgc")) {
|
||||
# Okay, we're due a garbage collect, update the config to reflect that we're doing it
|
||||
$self -> {"settings"} -> set_db_config("Session:lastgc", $now);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user