Add: Configurable restart delay in Error settings#5558
Open
220302010567 wants to merge 1 commit intoLmeSzinc:devfrom
Open
Add: Configurable restart delay in Error settings#5558220302010567 wants to merge 1 commit intoLmeSzinc:devfrom
220302010567 wants to merge 1 commit intoLmeSzinc:devfrom
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
Sign up for free
to 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.
Add a new config option
RestartDelayin Error settings group.The restart delay after game stuck or crash was hardcoded to 10 seconds.
Users can now customize this value based on their network and device conditions.
这是我第一次提交 PR,如有不足请多指正。
增加此功能的原因:在网络波动或设备较慢的情况下,游戏卡死后10秒内可能还未完全退出,
立即重启可能导致启动失败。允许用户自定义等待时间可以提高重启成功率(默认还是原来的10s)。
(我自己用Alas时偶尔会报错,游戏界面卡在委托任务,还有Alas经常在0点多时报错,但都只要手动启动就又好了,所以我希望通过用户根据自己情况自定义重启间隔来解决)