summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-23 14:45:37 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-23 14:45:37 (GMT)
commitaad372d64d3e4a09bfaf0c54616ce482019f9ba2 (patch)
tree6ff3f61106e6d697adf99213bab5b0fd34cffbfe /distbuild
parent222060e65e83365cd1bc64c3fd2362ed6a61d25b (diff)
downloadmorph-aad372d64d3e4a09bfaf0c54616ce482019f9ba2.tar.gz
Make WorkerBuildCaching carry a list of ids
We need to be able to send this message to a number of initiators
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/worker_build_scheduler.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index d855d1e..ebbefd0 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -64,21 +64,18 @@ class WorkerBuildOutput(object):
self.msg = msg
self.artifact_cache_key = cache_key
-
class WorkerBuildCaching(object):
- def __init__(self, initiator_id, cache_key):
- self.initiator_id = initiator_id
+ def __init__(self, initiators, cache_key):
+ self.initiators = initiators
self.artifact_cache_key = cache_key
-
class WorkerBuildFinished(object):
def __init__(self, msg, cache_key):
self.msg = msg
self.artifact_cache_key = cache_key
-
class WorkerBuildFailed(object):
def __init__(self, msg, cache_key):