Fix Cron expiration clean-up

This commit is contained in:
koalasat
2024-08-08 14:35:35 +02:00
parent 32a367738c
commit 3b79f3efe1

View File

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