Implements plugin: channel-safely v0.6.1.3

develop
Josh Cooper 2022-11-10 11:06:05 -08:00
parent 3cb186a62f
commit c4e55f1cc9
1 changed files with 1 additions and 0 deletions

@ -413,6 +413,7 @@ namespace CSP {
// clean up any "endangered" workers that have been tracked 100 ticks or more
for (auto iter = age.begin(); iter != age.end();) {
if (tick - iter->second >= 1200) { //keep watch 1 day
endangered_workers.erase(iter->first);
iter = age.erase(iter);
continue;
}