X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a93ef946eb1e73ee190ea4ff19c4f9278235530c..cf0c4c381a2b34130f072096038a430e3c6bbe55:/services/nodemanager/arvnodeman/jobqueue.py diff --git a/services/nodemanager/arvnodeman/jobqueue.py b/services/nodemanager/arvnodeman/jobqueue.py index 1020b4a80c..7ca9c95537 100644 --- a/services/nodemanager/arvnodeman/jobqueue.py +++ b/services/nodemanager/arvnodeman/jobqueue.py @@ -37,7 +37,10 @@ class ServerCalculator(object): self.scratch = 0 self.cores = 0 self.bandwidth = 0 - self.price = 9999999 + # price is multiplied by 1000 to get the node weight + # the maximum node weight is 4294967280 + # so use invalid node weight 4294967 * 1000 = 4294967000 + self.price = 4294967 self.preemptible = False self.extra = {}