-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Description
Describe the bug
When using the schedule feature to "debounce" processing some async workflow, the execution is limited to only 30s, or it'll fail with:
IoContext timed out due to inactivity; waitUntil tasks were canceled without completing.
It happens as we have to void a promise instead of await it in the scheduled function, as otherwise it fails because of the limit of blockConcurrencyWhile:
A call to blockConcurrencyWhile() in a Durable Object waited for too long. The call was canceled and the Durable Object was reset.
Expected behavior
I'm not sure how to work around this problem; it looks like removing blockConcurrencyWhile might help, but I'm not sure.
Version:
We are using a old version 0.0.76, but it also happens when upgrading to latest version 0.2.17.
Metadata
Metadata
Assignees
Labels
No labels