- Notifications
You must be signed in to change notification settings - Fork744
新增断网暂停等待网络恢复功能#1909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
kaedelcb wants to merge8 commits intobabalae:mainChoose a base branch fromkaedelcb:main-net
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Open
新增断网暂停等待网络恢复功能#1909
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
暂放,准备丢到实时任务中 |
准备放在实时触发里?我感觉这种属于异常处理的辅助功能,放在其他设置中也挻好的,不过还是要考滤优先级的问题先。 |
把手动和网络失败的暂停区分开来,因为异步执行多次恢复函数,只要有一次执行完成,后续的自动返回,否则继续暂停,增加可靠性。 |
尝试做到实时任务,但在暂停状态下,实时任务本身也会暂停,有没其他执行办法?不过建议还是按我PR的做法,目前测试效果还可以。@huiyadanli |
先不急,这份PR的代码我会迁移到其他地方,先保留PR |
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1、该功能在“设置”-->“其他设置”中进行配置开启。
2、网络检测使用PING命令进行,可配置PING的网站。
3、避免堵塞其他任务,使用异步执行,并用设置5秒的执行间隔。
4、目前测试3天,都正常。