fix readme

This commit is contained in:
Alexey Avramov
2019-01-10 22:48:01 +09:00
parent a154ca038b
commit f63cd1c8fc
2 changed files with 9 additions and 5 deletions

5
nohang
View File

@@ -16,9 +16,12 @@ from signal import SIGKILL, SIGTERM
sig_dict = {SIGKILL: 'SIGKILL',
SIGTERM: 'SIGTERM'}
self_uid = os.geteuid()
self_pid = str(os.getpid())
self_uid = os.geteuid()
if self_uid == 0:
root = True
wait_time = 2
cache_time = 30
cache_path = '/dev/shm/nohang_env_cache'