refactor(timeout): 优化日志信息并添加返回语句
在日志信息中添加了更多上下文,如 `__timer` 和 `__counter` 的值,以提高调试时的可读性。在 `__counter` 达到 `TIMER_TIMEOUT` 时添加了 `return` 语句,避免不必要的代码执行。
Showing
1 changed file
with
10 additions
and
9 deletions
-
Please register or sign in to post a comment