finn pushed to branch finn/scheduler-race-fix at BuildGrid / buildgrid
Commits:
- 
b972be17
by finnball at 2018-09-10T14:39:26Z
1 changed file:
Changes:
| ... | ... | @@ -87,10 +87,9 @@ class Scheduler: | 
| 87 | 87 |      def job_complete(self, name, result):
 | 
| 88 | 88 |          job = self.jobs[name]
 | 
| 89 | 89 |          job.result = result
 | 
| 90 | -        job.update_execute_stage(ExecuteStage.COMPLETED)
 | |
| 91 | -        self.jobs[name] = job
 | |
| 92 | 90 |          if not job.do_not_cache and self._action_cache is not None:
 | 
| 93 | 91 |              self._action_cache.update_action_result(job.action_digest, result)
 | 
| 92 | +        job.update_execute_stage(ExecuteStage.COMPLETED)
 | |
| 94 | 93 |  | 
| 95 | 94 |      def get_operations(self):
 | 
| 96 | 95 |          response = operations_pb2.ListOperationsResponse()
 | 
