Skip to content

Commit

Permalink
Merge pull request #117 from KoalaSat/fix-cron-expiration-clean-up
Browse files Browse the repository at this point in the history
Fix Cron expiration clean-up
  • Loading branch information
hoytech authored Sep 4, 2024
2 parents 32a3677 + 3b79f3e commit f7ee2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/relay/RelayCron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void RelayServer::runCron() {
numEphemeral++;
expiredLevIds.emplace_back(levId);
}
} else {
} else if (expiration <= now) {
numExpired++;
expiredLevIds.emplace_back(levId);
}
Expand Down

0 comments on commit f7ee2c2

Please sign in to comment.