X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=executors.py;h=60bd166bb23ba63b227179c404d281681b35cad9;hb=a4b50bb62e2653d3d084c6c7e0574abb9277b8d7;hp=2d80c3bdd92f80862d7b2be19678c004393f3ff3;hpb=0d63d44ac89aab38fe95f36497adaf95110ab949;p=python_utils.git diff --git a/executors.py b/executors.py index 2d80c3b..60bd166 100644 --- a/executors.py +++ b/executors.py @@ -705,7 +705,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, ) @@ -1191,7 +1191,7 @@ class DefaultExecutors(object): RemoteWorkerRecord( username='scott', machine='cheetah.house', - weight=30, + weight=24, count=6, ), ) @@ -1211,8 +1211,8 @@ class DefaultExecutors(object): RemoteWorkerRecord( username='scott', machine='wannabe.house', - weight=25, - count=10, + weight=14, + count=8, ), ) if self.ping('puma.cabin'): @@ -1221,7 +1221,7 @@ class DefaultExecutors(object): RemoteWorkerRecord( username='scott', machine='puma.cabin', - weight=30, + weight=24, count=6, ), ) @@ -1231,7 +1231,7 @@ class DefaultExecutors(object): RemoteWorkerRecord( username='scott', machine='backup.house', - weight=8, + weight=9, count=2, ), )