š I started seeing some illegal invocation errors from my logging tail worker. i am currently using
š I started seeing some illegal invocation errors from my logging tail worker. i am currently using the datadog client to forward my tail worker logs to my datadog.
i have updated wrangler and the datadog client but the issue still persists. has anyone encountered a similar issue before?
Thank you!
14 Replies
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
IIRC Service Bindings spawn in the same isolate
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
Maybe I'm wrong here, but service binding will act like a lazy load, yes. They spawn in the same isolate, but only load after the first interaction. I did a test while ago and was what i observed, but i cant remember all details right now.
Also you can do lazy load whiteout service binding. Just a normal javascript lazy module works ( await import()) do the trick. My graphql engine for example needs 250-350ms to load, i save the state on module var and pay this "price" only on the first interaction if occurs. You need to make sure to never reuse anything from the old request object between invocation btw.
Its a very standard V8+ES_Modules life time circle as far i can tell.
I prefer to use lazy module load vs service binding before i hit the worker size limit.
Unknown Userā¢3mo ago
Message Not Public
Sign In & Join Server To View
Yes, pretty much.
Hi guys.
I am developing bet code converter with React.
it is need to web scraping.
Is there anyone who has experience in scraping with JS?
Hey guys, I am getting this error when running test with vitest. I have set the new_sqlite_classes in migrations but still get this error. I would like to know where exactly to set
enableSql = true
? -> To enable it, set enableSql = true
in your workerd config for the class. If using wrangler, under [[migrations]]
in wrangler.toml, change new_classes
to new_sqlite_classes
. Note that this change cannot be made after the class is already deployed to production.
Thanks in advanceHi everyone! Does anyone know how to disable or remove the data-cfsrc tag? It automatically applies on mobile devices.
Try disabling the Image Optimization features like Mirage.
kinda feels like at this point we should just take the last
d
off of this channel name.Good morning everyone, I have a situation here at the company I work for. They fired a devops who had access to everything, now when trying to access the SSL/TSL menu we are getting an automatic renewal API error. Something like that... How can we solve this?
Unknown Userā¢2mo ago
Message Not Public
Sign In & Join Server To View
Sorry I didn't know that. But the problem has been solved...