From 7dc85f6a4b5afb750f7939ea9892ad2823e0f268 Mon Sep 17 00:00:00 2001 From: Walter Doekes Date: Mon, 9 Dec 2024 09:30:23 +0100 Subject: [PATCH] rshall: Add some sleep after each new job --- rshall | 1 + 1 file changed, 1 insertion(+) diff --git a/rshall b/rshall index b9b1de2..df8ffb4 100755 --- a/rshall +++ b/rshall @@ -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()