fix output
This commit is contained in:
parent
b48e781213
commit
e0dbf486d1
6
nohang
6
nohang
@ -1807,14 +1807,12 @@ def implement_corrective_action(
|
|||||||
response_time = time() - time0
|
response_time = time() - time0
|
||||||
send_result = 'no such process; response time: {} ms'.format(
|
send_result = 'no such process; response time: {} ms'.format(
|
||||||
round(response_time * 1000))
|
round(response_time * 1000))
|
||||||
key = 'FileNotFoundError (the victim died in the se' \
|
key = 'The victim died in the search process: FileNotFoundError'
|
||||||
'arch process): '
|
|
||||||
except ProcessLookupError:
|
except ProcessLookupError:
|
||||||
response_time = time() - time0
|
response_time = time() - time0
|
||||||
send_result = 'no such process; response time: {} ms'.format(
|
send_result = 'no such process; response time: {} ms'.format(
|
||||||
round(response_time * 1000))
|
round(response_time * 1000))
|
||||||
key = 'ProcessLookupError (the victim died in the se' \
|
key = 'The victim died in the search process: ProcessLookupError'
|
||||||
'arch process): '
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
log(preventing_oom_message)
|
log(preventing_oom_message)
|
||||||
|
Loading…
Reference in New Issue
Block a user