diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-10-08 17:14:32 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-11-22 16:52:26 +0000 |
commit | 4694dfadaf4d2f718d6b4148a000f5ffa7a69509 (patch) | |
tree | 8a172bc871846ddbea56b590109ba6360a83fa32 /src/buildstream/_stream.py | |
parent | cdf15d0658cd57c2666963119b4e05c2ff815ff7 (diff) | |
download | buildstream-4694dfadaf4d2f718d6b4148a000f5ffa7a69509.tar.gz |
cascache: extract CASDProcess in new module
Make it easier to specialize handling of the buildbox-casd process on
Windows, by splitting it into it's own class. This allows us to
encapsulate some decisions, and decreases the complexity of the CASCache
class.
Take some of the complexity out of this file by splitting the
responsibility of managing the process out to another file.
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r-- | src/buildstream/_stream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py index 0a3495ce5..bab5cb100 100644 --- a/src/buildstream/_stream.py +++ b/src/buildstream/_stream.py @@ -1373,7 +1373,7 @@ class Stream: if self._session_start_callback is not None: self._session_start_callback() - status = self._scheduler.run(self.queues, self._context.get_cascache().get_casd_process()) + status = self._scheduler.run(self.queues, self._context.get_cascache().get_casd_process_manager()) if status == SchedStatus.ERROR: raise StreamError() |