ddsgadget
ddsgadget
CDCloudflare Developers
Created by ddsgadget on 4/23/2025 in #workers-help
Suddenly all our ctx.waitUntil workers are failing?
Yeah, that must be it, because this workers runs ridiculously fast now as compared to the past. I'm also thinking of just moving the other endpoint in this particular worker to a separate worker to prevent a race condition. Ok, thanks for your help.
10 replies
CDCloudflare Developers
Created by ddsgadget on 4/23/2025 in #workers-help
Suddenly all our ctx.waitUntil workers are failing?
yeah, I think we will just refactor the code like you suggest and put the request.text before and test it. It's just so strange that the code worked for years, and then out of nowhere just started erroring. I am thinking there is some sort of race condition between another worker that fires around the same time. thats the only thing I can think of.
10 replies
CDCloudflare Developers
Created by ddsgadget on 4/23/2025 in #workers-help
Suddenly all our ctx.waitUntil workers are failing?
We have done tons of test and its just so strange we can't figure it out. The same exact code worked fine for years already. Works fine on development environment, but just keeps failing in production on one particular worker endpoing out of nowhere. The same code works perfectly fine on another worker which calls everything in the exact same manner
10 replies
CDCloudflare Developers
Created by ddsgadget on 4/23/2025 in #workers-help
Suddenly all our ctx.waitUntil workers are failing?
No we haven't made any changes and this has worked for awhile already. Was working till around 2:30 PM today. And then suddenly stopped working. Interestingly it still works perfectly fine on our development environement and works fine in many other workers.
10 replies