fix psi support
This commit is contained in:
parent
f540119b17
commit
c87b9c2b40
4
nohang
4
nohang
@ -1536,7 +1536,7 @@ stdout.flush()
|
|||||||
|
|
||||||
# ввести через конфиг!
|
# ввести через конфиг!
|
||||||
sigterm_psi = 60
|
sigterm_psi = 60
|
||||||
sigkill_psi = 90
|
sigkill_psi = 95
|
||||||
avg_min_time = 4
|
avg_min_time = 4
|
||||||
psi_min_sleep_time_after_action = 16
|
psi_min_sleep_time_after_action = 16
|
||||||
|
|
||||||
@ -1579,7 +1579,7 @@ while True:
|
|||||||
find_victim_and_send_signal(SIGTERM)
|
find_victim_and_send_signal(SIGTERM)
|
||||||
term_psi_t0 = time()
|
term_psi_t0 = time()
|
||||||
else:
|
else:
|
||||||
print('PSI is OK')
|
print('PSI is OK or psi_min_sleep_time_after_action did not pass')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user