alireza0:s-ui 修复流量重置未记为变更导致面板不刷新,重置后客户端状态会自行更新

alireza0 回复「订阅流量重置后用户状态没有变回已启用」:周期性重置其实已经重新启用了客户端,但这次重置没有被记为一次变更,面板因此不刷新,一直显示为已禁用,直到手动刷新页面。已修复:重置会被记录,面板会自行更新,将在下个版本包含。关于报告者提出的「用完流量后限制而不是禁用」建议,作者说明用尽流量的客户端会被禁用以便内核停止为其服务,下一次重置会重新启用,结果相同。

作者原文

Thanks for the report.

The periodic reset did re-enable the client, but it wasn't recorded as a change, so the panel didn't refresh and kept showing the client as disabled until the page was reloaded.

Fixed: the reset is now recorded and the panel updates on its own.

It will be included in the next release. About your suggestion: a depleted client is disabled so the core stops serving it, and the next reset enables it again, so the result is the same.