mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 23:29:40 -05:00
Fixed flushing of not required cached entries
This commit is contained in:
parent
3d5c7bc2b5
commit
e87f9c514e
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ function Start-IcingaServiceCheckTask()
|
|||
# Flush data we no longer require in our cache to free memory
|
||||
foreach ($entry in $OldData.Keys) {
|
||||
foreach ($key in $OldData[$entry].Keys) {
|
||||
Remove-IcingaHashtableItem -Hashtable $Results[$entry] -Key $key
|
||||
Remove-IcingaHashtableItem -Hashtable $Results[$entry] -Key $key.Name
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue