fix wait times

This commit is contained in:
Alexey Avramov 2019-09-15 19:50:57 +09:00
parent 05ae755415
commit 0084bee76d

View File

@ -154,9 +154,9 @@ with open('/proc/meminfo') as f:
if line.startswith('SwapTotal'): if line.startswith('SwapTotal'):
swap_total = int(line.split(':')[1][:-4]) swap_total = int(line.split(':')[1][:-4])
if swap_total > 0: if swap_total > 0:
wait_time = 10 wait_time = 15
else: else:
wait_time = 2 wait_time = 3
if debug: if debug: