Commit b8d0327c authored by Jerome Mariette's avatar Jerome Mariette
Browse files

do not serialize the workflow when updating the status

parent 62e50c39
......@@ -890,8 +890,8 @@ class Workflow(threading.Thread):
except Exception as e:
self._log(str(e), traceback=traceback.format_exc(chain=False))
def _update_status_from_log(self):
def get_status(self):
# first update the status from weaver folders
# TODO update self.end_time
......@@ -913,10 +913,6 @@ class Workflow(threading.Thread):
elif self.status != self.STATUS_COMPLETED:
self.status = self.STATUS_STARTED
except: pass
def get_status(self):
return self.status
def get_resource(self, resource):
Supports Markdown
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