From 709370b2198e09f1dbe195fe8813602a3125b7f6 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 8 Sep 2021 23:29:05 -0700 Subject: Add doctests to some of this stuff. --- executors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executors.py') diff --git a/executors.py b/executors.py index 63efd81..e074c30 100644 --- a/executors.py +++ b/executors.py @@ -619,7 +619,7 @@ class RemoteExecutor(BaseExecutor): while True: try: - p.wait(timeout=0.5) + p.wait(timeout=0.25) except subprocess.TimeoutExpired: self.heartbeat() @@ -882,7 +882,7 @@ class DefaultExecutors(object): RemoteWorkerRecord( username = 'scott', machine = 'meerkat.cabin', - weight = 7, + weight = 6, count = 2, ), ) -- cgit v1.3