mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
fix(queue): fence leases and record target outcomes
Retries must remember completed targets and distinguish active lease holders. Fence state updates, preserve permanent outcomes and reject missing parked payloads instead of dispatching empty data.
This commit is contained in:
1 parent
5b755deca5
commit
a91e8d7a7f
3 files changed
+518
-71
No files matched your search
@@ -80,7 +80,7 @@ function body(overrides: Partial<DeliveryMessage> = {}): DeliveryMessage {
|
||||
};
|
||||
}
|
||||
|
||||
const STATE_KEY = "delivery-state:github:global:d1";
|
||||
const STATE_KEY = "delivery-state:github:@global:d1";
|
||||
|
||||
describe("handleQueueBatch", () => {
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in new issue
Block a user