mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 16:58:50 +00:00
Fix Cron expiration clean-up
This commit is contained in:
@ -96,7 +96,7 @@ void RelayServer::runCron() {
|
|||||||
numEphemeral++;
|
numEphemeral++;
|
||||||
expiredLevIds.emplace_back(levId);
|
expiredLevIds.emplace_back(levId);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (expiration <= now) {
|
||||||
numExpired++;
|
numExpired++;
|
||||||
expiredLevIds.emplace_back(levId);
|
expiredLevIds.emplace_back(levId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user