diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-23 15:45:37 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-23 15:45:37 +0100 |
commit | aad372d64d3e4a09bfaf0c54616ce482019f9ba2 (patch) | |
tree | 6ff3f61106e6d697adf99213bab5b0fd34cffbfe | |
parent | 222060e65e83365cd1bc64c3fd2362ed6a61d25b (diff) | |
download | morph-aad372d64d3e4a09bfaf0c54616ce482019f9ba2.tar.gz |
Make WorkerBuildCaching carry a list of ids
We need to be able to send this message to a number of initiators
-rw-r--r-- | distbuild/worker_build_scheduler.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py index d855d1e0..ebbefd06 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): |