Skip to content

Add: Configurable restart delay in Error settings#5558

Open
220302010567 wants to merge 1 commit intoLmeSzinc:devfrom
220302010567:add-restart-delay
Open

Add: Configurable restart delay in Error settings#5558
220302010567 wants to merge 1 commit intoLmeSzinc:devfrom
220302010567:add-restart-delay

Conversation

@220302010567
Copy link

Add a new config option RestartDelay in 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点多时报错,但都只要手动启动就又好了,所以我希望通过用户根据自己情况自定义重启间隔来解决)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant