File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ def _process(drain=0):
1400
1400
get_max_resources_used (proc .pid , mem_mb , num_threads )
1401
1401
proc .poll ()
1402
1402
_process ()
1403
- time .sleep (interval )
1403
+ # time.sleep(interval)
1404
1404
_process (drain = 1 )
1405
1405
1406
1406
# collect results, merge and return
@@ -1419,7 +1419,7 @@ def _process(drain=0):
1419
1419
mem_mb , num_threads = \
1420
1420
get_max_resources_used (proc .pid , mem_mb , num_threads )
1421
1421
proc .poll ()
1422
- time .sleep (interval )
1422
+ # time.sleep(interval)
1423
1423
stdout , stderr = proc .communicate ()
1424
1424
if stdout and isinstance (stdout , bytes ):
1425
1425
try :
@@ -1441,7 +1441,7 @@ def _process(drain=0):
1441
1441
mem_mb , num_threads = \
1442
1442
get_max_resources_used (proc .pid , mem_mb , num_threads )
1443
1443
proc .poll ()
1444
- time .sleep (interval )
1444
+ # time.sleep(interval)
1445
1445
ret_code = proc .wait ()
1446
1446
stderr .flush ()
1447
1447
stdout .flush ()
@@ -1454,7 +1454,7 @@ def _process(drain=0):
1454
1454
mem_mb , num_threads = \
1455
1455
get_max_resources_used (proc .pid , mem_mb , num_threads )
1456
1456
proc .poll ()
1457
- time .sleep (interval )
1457
+ # time.sleep(interval)
1458
1458
proc .communicate ()
1459
1459
result ['stdout' ] = []
1460
1460
result ['stderr' ] = []
You can’t perform that action at this time.
0 commit comments