X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=executors.py;h=e1949fbb992fbfcc9ace61099b4140fb460644e6;hb=89f305d67e913ea1512e2618a0375359ec925ada;hp=2ece15e3ee3cb2ca5e1c5a81882a4f4e7f3e79f9;hpb=b63d4b5f98d9eec29e923b62d4f63c9b63f13927;p=python_utils.git diff --git a/executors.py b/executors.py index 2ece15e..e1949fb 100644 --- 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 - 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( - '=====> SCHEDULING BACKUP %s (score=%.1f}) <=====', + '=====> SCHEDULING BACKUP %s (score=%.1f) <=====', bundle_to_backup, best_score, ) @@ -1192,7 +1191,7 @@ class DefaultExecutors(object): username='scott', machine='cheetah.house', weight=24, - count=6, + count=5, ), ) if self.ping('meerkat.cabin'): @@ -1212,7 +1211,7 @@ class DefaultExecutors(object): username='scott', machine='wannabe.house', weight=14, - count=8, + count=2, ), ) if self.ping('puma.cabin'): @@ -1222,7 +1221,7 @@ class DefaultExecutors(object): username='scott', machine='puma.cabin', weight=24, - count=6, + count=5, ), ) if self.ping('backup.house'):