Bumped ALLCALL timeout to 10 minutes
This commit is contained in:
parent
5c9aee4b3f
commit
11740384f3
@ -9391,9 +9391,9 @@ void MainWindow::processCommandActivity() {
|
|||||||
writeDirectedCommandToFile(d);
|
writeDirectedCommandToFile(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if this is an allcall, check to make sure we haven't replied to their allcall recently (in the past five minutes)
|
// if this is an allcall, check to make sure we haven't replied to their allcall recently (in the past ten minutes)
|
||||||
// that way we never get spammed by allcalls at too high of a frequency
|
// that way we never get spammed by allcalls at too high of a frequency
|
||||||
if (isAllCall && m_txAllcallCommandCache.contains(d.from) && m_txAllcallCommandCache[d.from]->secsTo(now) / 60 < 5) {
|
if (isAllCall && m_txAllcallCommandCache.contains(d.from) && m_txAllcallCommandCache[d.from]->secsTo(now) / 60 < 10) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user