Directed cache good for 5 minutes
This commit is contained in:
parent
fed71cb75c
commit
0755634366
@ -8226,7 +8226,7 @@ bool MainWindow::isRecentOffset(int offset){
|
|||||||
bool MainWindow::isDirectedOffset(int offset){
|
bool MainWindow::isDirectedOffset(int offset){
|
||||||
return (
|
return (
|
||||||
m_rxDirectedCache.contains(offset/10*10) &&
|
m_rxDirectedCache.contains(offset/10*10) &&
|
||||||
m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 120
|
m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 300
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user