Commit 37603f43 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

OperatedPoolBroker bug fixed

parent 50d40267
...@@ -81,7 +81,6 @@ class Broker(ObjectInterruption): ...@@ -81,7 +81,6 @@ class Broker(ObjectInterruption):
yield release,self,self.victim.operatorPool.getResource(self.victim.currentOperator) yield release,self,self.victim.operatorPool.getResource(self.victim.currentOperator)
# the victim current operator must be cleared after the operator is released # the victim current operator must be cleared after the operator is released
self.timeLastOperationEnded = now() self.timeLastOperationEnded = now()
self.victim.currentOperator.totalWorkingTime+=self.timeLastOperationEnded-self.timeOperationStarted
self.victim.currentOperator = None self.victim.currentOperator = None
else: else:
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment