Martin Blanchard pushed to branch master at BuildGrid / buildgrid
Commits:
-
4c971b76
by Santiago Gil at 2019-02-20T10:46:59Z
1 changed file:
Changes:
... | ... | @@ -56,9 +56,8 @@ class Scheduler: |
56 | 56 |
self.__queue = []
|
57 | 57 |
self.__queue_lock = Lock()
|
58 | 58 |
|
59 |
- self._is_instrumented = monitor
|
|
60 |
- |
|
61 |
- if self._is_instrumented:
|
|
59 |
+ self._is_instrumented = False
|
|
60 |
+ if monitor:
|
|
62 | 61 |
self.activate_monitoring()
|
63 | 62 |
|
64 | 63 |
# --- Public API ---
|