Commit e68883f
committed
fix: 节流标记移到识别入口处生效
上一版 lastDetectionRunAt.set 放在 runActivePageDetection 末尾,中间任何一步抛错都会被 catch 吞掉、标记从未被写入,导致下次 scheduleActivePageDetection 检查 last=0 跳过节流、page-detector 仍以 9-12 秒间隔被反复注入。改为入口处通过 URL 校验后立即记录,确保 30 秒节流真正生效。将版本号提升到 1.2.86。1 parent d8b79c7 commit e68883f
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments