mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix typo in periodic activity stats key
This commit is contained in:
parent
c7fded0374
commit
93dd322ae5
2 changed files with 5 additions and 3 deletions
|
|
@ -58,8 +58,10 @@ local function stats_have_degraded_performance(stats)
|
|||
-- The activity is slow if it has been executing for too long,
|
||||
-- if it has been waiting in the queue for too long (no available threads)
|
||||
-- of if the RRD writes are slow
|
||||
if ps_stats["is_slow"] or ps_stats["not_excecuted"] or ps_stats["rrd_slow"] then
|
||||
return true
|
||||
for k in pairs(periodic_activities_utils.periodic_activity_issues) do
|
||||
if ps_stats[k] then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue