projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let text_utils work with strings that contain ansi escape sequences.
[python_utils.git]
/
executors.py
diff --git
a/executors.py
b/executors.py
index 2ece15e3ee3cb2ca5e1c5a81882a4f4e7f3e79f9..e1949fbb992fbfcc9ace61099b4140fb460644e6 100644
(file)
--- a/
executors.py
+++ b/
executors.py
@@
-10,7
+10,6
@@
Also defines DefaultExecutors which is a container for references to
global executors / worker pools with automatic shutdown semantics."""
from __future__ import annotations
global executors / worker pools with automatic shutdown semantics."""
from __future__ import annotations
-
import concurrent.futures as fut
import logging
import os
import concurrent.futures as fut
import logging
import os
@@
-705,7
+704,7
@@
class RemoteExecutor(BaseExecutor):
if bundle_to_backup is not None:
self.last_backup = now
logger.info(
if bundle_to_backup is not None:
self.last_backup = now
logger.info(
- '=====> SCHEDULING BACKUP %s (score=%.1f
}
) <=====',
+ '=====> SCHEDULING BACKUP %s (score=%.1f) <=====',
bundle_to_backup,
best_score,
)
bundle_to_backup,
best_score,
)
@@
-1192,7
+1191,7
@@
class DefaultExecutors(object):
username='scott',
machine='cheetah.house',
weight=24,
username='scott',
machine='cheetah.house',
weight=24,
- count=
6
,
+ count=
5
,
),
)
if self.ping('meerkat.cabin'):
),
)
if self.ping('meerkat.cabin'):
@@
-1212,7
+1211,7
@@
class DefaultExecutors(object):
username='scott',
machine='wannabe.house',
weight=14,
username='scott',
machine='wannabe.house',
weight=14,
- count=
8
,
+ count=
2
,
),
)
if self.ping('puma.cabin'):
),
)
if self.ping('puma.cabin'):
@@
-1222,7
+1221,7
@@
class DefaultExecutors(object):
username='scott',
machine='puma.cabin',
weight=24,
username='scott',
machine='puma.cabin',
weight=24,
- count=
6
,
+ count=
5
,
),
)
if self.ping('backup.house'):
),
)
if self.ping('backup.house'):