You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we don't have specify any timeouts for our actions, so theoretically, the initializePage page action can run forever if even one of the multiple actions takes too long.
Possible method signature:
functionexecuteMultiple(context,actions,done,{timeouts: {total: {time: 200,handler: function(err,data){if(err.statusCode===500){// a critical action failed}else{// timeout with no criticals }}}}}
The handler should be wrapped to check if any critical tasks failed before being called with a 500 error
The text was updated successfully, but these errors were encountered:
This would be a nice enhancement, in the meantime, ideally, you should already be setting timeouts on the service calls your individual actions depend on so that your actions in bulk do not run "forever".
Right now we don't have specify any timeouts for our actions, so theoretically, the
initializePage
page action can run forever if even one of the multiple actions takes too long.Possible method signature:
The handler should be wrapped to check if any critical tasks failed before being called with a 500 error
The text was updated successfully, but these errors were encountered: