mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 00:54:30 +02:00
parent
f800630c10
commit
96626f4eca
@ -65,7 +65,7 @@ static void ScriptFrameCleanupHandler(void)
|
|||||||
typedef std::pair<String, LivestatusScriptFrame> KVPair;
|
typedef std::pair<String, LivestatusScriptFrame> KVPair;
|
||||||
|
|
||||||
BOOST_FOREACH(const KVPair& kv, l_LivestatusScriptFrames) {
|
BOOST_FOREACH(const KVPair& kv, l_LivestatusScriptFrames) {
|
||||||
if (kv.second.Seen < Utility::GetTime() - 60)
|
if (kv.second.Seen < Utility::GetTime() - 1800)
|
||||||
cleanup_keys.push_back(kv.first);
|
cleanup_keys.push_back(kv.first);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user