Commit ea7a69d3 authored by Georgios Dagkakis's avatar Georgios Dagkakis

cleanup, trace deactivated in test and print deleted in object

parent 2681bc29
...@@ -1786,7 +1786,7 @@ ...@@ -1786,7 +1786,7 @@
"general": { "general": {
"console": "No", "console": "No",
"numberOfReplications": 1, "numberOfReplications": 1,
"trace": "Yes", "trace": "No",
"ke_url": "http://git.erp5.org/gitweb/dream.git/blob_plain/ee686e74fe5f2e18cc2ba820163a52e8626a696c:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls", "ke_url": "http://git.erp5.org/gitweb/dream.git/blob_plain/ee686e74fe5f2e18cc2ba820163a52e8626a696c:/dream/KnowledgeExtraction/Mockup_Processingtimes.xls",
"processTimeout": 20, "processTimeout": 20,
"seed": "", "seed": "",
......
...@@ -128,7 +128,6 @@ class ShiftScheduler(ObjectInterruption): ...@@ -128,7 +128,6 @@ class ShiftScheduler(ObjectInterruption):
transmitter, eventTime=self.victim.endedLastProcessing.value transmitter, eventTime=self.victim.endedLastProcessing.value
self.victim.endedLastProcessing=self.env.event() self.victim.endedLastProcessing=self.env.event()
elif self.victimFailed in receivedEvent: elif self.victimFailed in receivedEvent:
print self.env.now,self.victim.id, 'received victim failed'
transmitter, eventTime=self.victimFailed.value transmitter, eventTime=self.victimFailed.value
self.victimFailed=self.env.event() self.victimFailed=self.env.event()
# sometimes the time to end the last process may overcome the time to restart theshift # sometimes the time to end the last process may overcome the time to restart theshift
......
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