mirror of https://github.com/Jittor/Jittor
remove sleep
This commit is contained in:
parent
e63186e209
commit
f612e9f2c6
|
@ -8,7 +8,7 @@
|
|||
# This file is subject to the terms and conditions defined in
|
||||
# file 'LICENSE.txt', which is part of this source code package.
|
||||
# ***************************************************************
|
||||
__version__ = '1.2.2.65'
|
||||
__version__ = '1.2.2.66'
|
||||
from . import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
|
@ -51,7 +51,6 @@ def wait_queue():
|
|||
if buf == '0':
|
||||
print("Begin")
|
||||
os.system(f"sleep {os.environ.get('SWAIT', '60')} && bash -c ' if kill -9 {os.getpid()} 2>/dev/null; then echo Timeout; fi; ' &")
|
||||
os.system("sleep 100")
|
||||
break
|
||||
else:
|
||||
print("Pending", buf)
|
||||
|
|
Loading…
Reference in New Issue