Directed cache good for 5 minutes

This commit is contained in:
Jordan Sherer 2018-08-06 23:42:37 -04:00
parent fed71cb75c
commit 0755634366

View File

@ -8226,7 +8226,7 @@ bool MainWindow::isRecentOffset(int offset){
bool MainWindow::isDirectedOffset(int offset){
return (
m_rxDirectedCache.contains(offset/10*10) &&
m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 120
m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 300
);
}