Skip to content

Commit

Permalink
rshall: Add some sleep after each new job
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoekes committed Dec 9, 2024
1 parent 9b4963d commit 7dc85f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rshall
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ echo "I am a sample script on $(hostname)"
proc.start()
child_conn.close()
self._cycle(True)
sleep(0.1) # some sleep before spawning too much at once

while self._procinfos:
self._reap()
Expand Down

0 comments on commit 7dc85f6

Please sign in to comment.