Change the weights in the default executor's remote worker pool.
authorScott Gasch <[email protected]>
Wed, 9 Feb 2022 03:55:34 +0000 (19:55 -0800)
committerScott Gasch <[email protected]>
Wed, 9 Feb 2022 03:55:34 +0000 (19:55 -0800)
executors.py

index 2d80c3bdd92f80862d7b2be19678c004393f3ff3..2ece15e3ee3cb2ca5e1c5a81882a4f4e7f3e79f9 100644 (file)
@@ -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,
                     ),
                 )