Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

feat(utils): 添加时间跳跃检测#995

Merged
baiyao105 merged 6 commits into
Class-Widgets:mainfrom
laoshuikaixue:patch-2
Oct 16, 2025
Merged

feat(utils): 添加时间跳跃检测#995
baiyao105 merged 6 commits into
Class-Widgets:mainfrom
laoshuikaixue:patch-2

Conversation

@laoshuikaixue

Copy link
Copy Markdown
Member
  • 新增 _last_current_time 属性用于记录上次时间
  • _on_timeout 中实现时间跳跃检测逻辑
  • 添加 _reschedule_all_tasks 方法以重新计算任务执行时间
  • _schedule_next 中增加异常延迟时间处理
  • 优化任务堆调整逻辑以适应时间变化

laoshuikaixue and others added 4 commits October 10, 2025 07:40
- 新增 `_last_current_time` 属性用于记录上次时间
- 在 `_on_timeout` 中实现时间跳跃检测逻辑
- 添加 `_reschedule_all_tasks` 方法以重新计算任务执行时间
- 在 `_schedule_next` 中增加异常延迟时间处理
- 优化任务堆调整逻辑以适应时间变化
@baiyao105 baiyao105 changed the title feat(utils): 添加时间跳跃检测和任务重新调度功能 feat(utils): 添加时间跳跃检测 Oct 12, 2025
@baiyao105 baiyao105 merged commit 1294668 into Class-Widgets:main Oct 16, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants