asad
CDCloudflare Developers
•Created by asad on 4/16/2024 in #workers-help
Browser Rendering Error: 429
Hey, I have a simple browser-rendering API worker (code below). But I frequently get this error:
Error: Unabled to create new browser: code: 429: message: Too many browsers already running
It happens locally when testing with —remote but also in prod. I had to switch my backend to another service as my tool went viral this weekend.
My code to get html for a url:
7 replies
CDCloudflare Developers
•Created by asad on 3/20/2024 in #workers-help
Durable Objects are restarted on code change
I have noticed that if I push a new code update, all durable objects are recreated. Is it possible to do a rolling update? I don't want to kill existing DOs and let them use the old code.
If not, is it expected that pushing new code will just restart my prod service and disrupt all state?
1 replies