JianFeeeee
895948b24e
fix(stop): 配额须计入停在输入 channel 的待处理消息
实测:停止后排队消息仍逐条跑完。原因是 armStop 只数 sched.queue,
而用户按下停止时调度器正忙于当前任务,其余消息大多还没被 pumpInbox
搬进队列、仍停在 inputCh ⇒ queued=0、配额归零。
- IOManager.PendingInputs():暴露 channel 中待处理条数。
- armStop(pending int):queued = len(s.queue) + pending。
- 补 TestStop_ArmCountsPendingChannelInputs 锁死该口径。
2026-09-18 11:39:04 +08:00
..
2026-09-18 11:39:04 +08:00
2026-09-14 07:14:55 +08:00
2026-09-14 11:15:21 +08:00
2026-09-13 00:45:28 +08:00
2026-08-05 16:00:08 +08:00
2026-09-12 18:14:22 +08:00
2026-07-24 17:04:37 +08:00
2026-09-13 21:59:23 +08:00
2026-09-15 10:20:40 +08:00
2026-09-14 17:48:54 +08:00
2026-08-14 00:48:40 +08:00
2026-09-12 00:10:32 +08:00
2026-09-17 18:56:15 +08:00
2026-09-18 11:26:12 +08:00
2026-08-14 00:48:40 +08:00
2026-08-05 16:00:08 +08:00
2026-09-17 18:56:15 +08:00
2026-08-14 00:48:40 +08:00
2026-08-05 16:00:08 +08:00
2026-09-12 08:23:30 +08:00
2026-08-05 16:00:08 +08:00