(deliveryId: string)
| 34 | |
| 35 | const app = new Hono<{ Bindings: Env }>(); |
| 36 | const DELIVERY_DEDUPE_TTL_MS = 7 * 24 * 60 * 60 * 1_000; |
| 37 | const DELIVERY_PROCESSING_TTL_MS = 5 * 60 * 1_000; |
| 38 | const DELIVERY_STATUS_PROCESSING = "processing"; |
| 39 | const DELIVERY_STATUS_PROCESSED = "processed"; |
| 40 | |
| 41 | function getDeliveryDedupeKey(deliveryId: string): string { |