mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-14 07:48:24 +00:00
Do not generate slows stats alert for PCAP dump files
This commit is contained in:
parent
3dc4a8dc59
commit
db982bd217
1 changed files with 2 additions and 1 deletions
|
|
@ -2880,7 +2880,8 @@ void NetworkInterface::periodicStatsUpdate() {
|
|||
ts_ring->insert(pt, tv.tv_sec);
|
||||
}
|
||||
|
||||
if((time(NULL) - tv.tv_sec) > ntop->getPrefs()->get_housekeeping_frequency())
|
||||
if((!read_from_pcap_dump()) &&
|
||||
(time(NULL) - tv.tv_sec) > ntop->getPrefs()->get_housekeeping_frequency())
|
||||
slow_stats_update = true;
|
||||
else
|
||||
slow_stats_update = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue