Skip to content

Commit a52395a

Browse files
committed
Ignored sleeping
1 parent 9ad5d24 commit a52395a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nipype/interfaces/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ def _process(drain=0):
14001400
get_max_resources_used(proc.pid, mem_mb, num_threads)
14011401
proc.poll()
14021402
_process()
1403-
time.sleep(interval)
1403+
#time.sleep(interval)
14041404
_process(drain=1)
14051405

14061406
# collect results, merge and return
@@ -1419,7 +1419,7 @@ def _process(drain=0):
14191419
mem_mb, num_threads = \
14201420
get_max_resources_used(proc.pid, mem_mb, num_threads)
14211421
proc.poll()
1422-
time.sleep(interval)
1422+
#time.sleep(interval)
14231423
stdout, stderr = proc.communicate()
14241424
if stdout and isinstance(stdout, bytes):
14251425
try:
@@ -1441,7 +1441,7 @@ def _process(drain=0):
14411441
mem_mb, num_threads = \
14421442
get_max_resources_used(proc.pid, mem_mb, num_threads)
14431443
proc.poll()
1444-
time.sleep(interval)
1444+
#time.sleep(interval)
14451445
ret_code = proc.wait()
14461446
stderr.flush()
14471447
stdout.flush()
@@ -1454,7 +1454,7 @@ def _process(drain=0):
14541454
mem_mb, num_threads = \
14551455
get_max_resources_used(proc.pid, mem_mb, num_threads)
14561456
proc.poll()
1457-
time.sleep(interval)
1457+
#time.sleep(interval)
14581458
proc.communicate()
14591459
result['stdout'] = []
14601460
result['stderr'] = []

0 commit comments

Comments
 (0)