zyc
zyc
CDCloudflare Developers
Created by zyc on 7/16/2024 in #workers-help
How to avoid cancel from client disconnection?
thank you! Also, is it possible for it to run a bit longer? event.waitUnti can only holds for 30 seconds
4 replies
CDCloudflare Developers
Created by zyc on 7/16/2024 in #workers-help
How to avoid cancel from client disconnection?
When the client disconnects, all tasks associated with that client’s request are proactively canceled. If the Worker passed a promise to event.waitUntil(), cancellation will be delayed until the promise has completed or until an additional 30 seconds have elapsed, whichever happens first.
4 replies