How to retry
2016-10-09 18:48:28 0 举报
在编程中,”retry”是一种常见的错误处理策略,用于处理可能出现的异常或失败情况。当程序遇到错误时,它不会立即崩溃,而是尝试重新执行某个操作,这就是所谓的”重试”。这种策略可以确保程序在遇到暂时性问题时能够持续运行,而不是因为一次失败就完全停止。重试通常需要设置一些参数,如重试次数、重试间隔等,以便在重试过程中逐步增加尝试的强度。然而,过度的重试可能会导致资源的浪费,因此在使用重试策略时需要谨慎。
作者其他创作
大纲/内容
T
Update node_status to 'Suspended' in workflow_instance_node_entity according to instance_id and node_code
Update status to 'Suspending' in workflow_instance_entity according to instance_id
Finish
There are no running jobs
Wait for all running jobs belonging to this workflow instance to finish
When a job is finished
F
Select target node and click suspend button
Update status to 'Suspended' in workflow_instance_entity according to instance_id
Select one workflow instance on UI
Suspend all child nodes
收藏
收藏
0 条评论
下一页