fix(telegram): recover pid-reused ingress claims · openclaw/openclaw@d1b33a6
obviyus
·
2026-06-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -258,7 +258,7 @@ describe("Telegram ingress spool", () => {
|
258 | 258 | }); |
259 | 259 | }); |
260 | 260 | |
261 | | -it("does not treat stale claims with reused pids as live-owned", () => { |
| 261 | +it("does not treat claims with the current process pid as other live process claims", () => { |
262 | 262 | const now = Date.now(); |
263 | 263 | expect( |
264 | 264 | isTelegramSpooledUpdateClaimOwnedByOtherLiveProcess({ |
@@ -270,7 +270,7 @@ describe("Telegram ingress spool", () => {
|
270 | 270 | claim: { |
271 | 271 | processId: "other-process", |
272 | 272 | processPid: process.pid, |
273 | | -claimedAt: now - TELEGRAM_SPOOLED_UPDATE_PROCESSING_STALE_MS - 1, |
| 273 | +claimedAt: now, |
274 | 274 | }, |
275 | 275 | }), |
276 | 276 | ).toBe(false); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。