Skip to content

Commit 5d12c70

Browse files
Merge pull request #3184 from antgonza/remove-sleeps-qiita-plugins
rm sleeps when starting plugins
2 parents fed8550 + 29000fc commit 5d12c70

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

scripts/qiita

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import errno
1111
import socket
1212
from datetime import datetime, timedelta
1313
from os.path import join, abspath, dirname
14-
from time import sleep, ctime
14+
from time import ctime
1515
from multiprocessing import active_children
1616

1717
import click
@@ -413,11 +413,6 @@ def start(port, master):
413413
s.register_commands()
414414
except ValueError as e:
415415
print(e)
416-
# sleep is required as we don't want to saturate workers with
417-
# lots of requests
418-
sleep(1)
419-
# sleep to make sure that all definitions are done
420-
sleep(4)
421416

422417
print('Definition artifacts registration complete')
423418

@@ -427,9 +422,6 @@ def start(port, master):
427422
s.register_commands()
428423
except ValueError as e:
429424
print(e)
430-
# sleep is required as we don't want to saturate workers with
431-
# lots of requests
432-
sleep(1)
433425

434426
print('Command artifacts registration complete')
435427

0 commit comments

Comments
 (0)