summaryrefslogtreecommitdiff
path: root/executors.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-09-08 23:29:05 -0700
committerScott Gasch <[email protected]>2021-09-08 23:29:05 -0700
commit709370b2198e09f1dbe195fe8813602a3125b7f6 (patch)
tree5bbe521d7973f86526ed09d4411a5b3ff0e23aaa /executors.py
parentb10d30a46e601c9ee1f843241f2d69a1f90f7a94 (diff)
Add doctests to some of this stuff.
Diffstat (limited to 'executors.py')
-rw-r--r--executors.py4
1 files changed, 2 insertions, 2 deletions
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,
),
)