Added stop signals to RMASS incoming message flows. Nested attachment handling in its own operation for Synapse outgoing message flows
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from core.execution import action
|
||||
from core.execution.action.action import buildAction
|
||||
from core.runtime.runtimecontract import buildPreRuntimeAttr, buildRuntimeAttr
|
||||
from core.apirequest import executeRequest
|
||||
@@ -33,15 +34,21 @@ def buildRecursive(definition, outputs):
|
||||
dependency in outputs["stopsignals"]
|
||||
for dependency in job.depends
|
||||
)
|
||||
|
||||
#print(f"STOP SIGNAL DEBUGGING during {job.name}")
|
||||
#print(outputs["stopsignals"])
|
||||
#stop = True
|
||||
#break
|
||||
|
||||
if stop:
|
||||
#print("STOP SIGNAL DETECTED")
|
||||
#print(f"Stopping {job.name} due to stop signal")
|
||||
continue
|
||||
|
||||
#print(f"RECURSIVE DEBUG DURING {job.name}")
|
||||
#print(item)
|
||||
#outputs, response = buildAction(job, outputs)
|
||||
|
||||
outputs, response = executeContract(job, outputs)
|
||||
responses.append(response)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user