Skip to content

Instantly share code, notes, and snippets.

@myvyang
Created February 13, 2019 02:35
Show Gist options
  • Save myvyang/58ec8a8bc0d9d39c39a5b6c3edce3319 to your computer and use it in GitHub Desktop.
Save myvyang/58ec8a8bc0d9d39c39a5b6c3edce3319 to your computer and use it in GitHub Desktop.
1. 所有操作设置超时;保证限定时间内完成,或报错;
2. 错误隔离;保证错误在一个小范围内,不会影响整个程序的运行,失败的任务记录下来;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment