removed typo
This commit is contained in:
parent
35615caa70
commit
bc06f72b28
1 changed files with 2 additions and 2 deletions
4
background_job.py
Normal file → Executable file
4
background_job.py
Normal file → Executable file
|
@ -67,13 +67,13 @@ def loop():
|
|||
if ram_usage >= 98 and swap_usage >= 98:
|
||||
ram_full()
|
||||
|
||||
elif ram_usage >= 90 = warning_cooldown == 0:
|
||||
elif ram_usage >= 90 and warning_cooldown == 0:
|
||||
ram_almost_full()
|
||||
warning_cooldown = 30
|
||||
|
||||
else:
|
||||
warning_cooldown -= 1
|
||||
|
||||
|
||||
sleep(1)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue