16 Replies
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
the thing is that Im running it on a cron
and need to be run every month
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
how can i do that
If you mean how can you reach out officially, here: https://dash.cloudflare.com/?to=/:account/support
what i need to is, i have a list of ids, the using those ids i need to run some calculations (heavy) and then send an email\
even using batching, the worker runs out of cpu time
thanks!
can you help to white board really quick how could I do this? @Sid | R2
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
i see, thanks!
Just to clarify, is it memory limits or CPU limits you’re hitting?
cpu limits
i manage to pin point this problem to this
An Unbound Worker can make 1,000 subrequests per invocation
Yeah is probably making a lot more than that
Is there a way to check exactly how many is it making?
And how would be a way to work around this?
I don’t think batching would help with subrequests right?
Because its the same invocation
Use Service Bindings to invoke the Worker which will have a refreshed subrequest limit
i.e have a Worker to get the IDs, and then it batches them & sends the batch of IDs to a Service Binding Worker that can process them
Ohh that’s perfect!
And i guess i can have multiple workers that process this requests?
Or is the same as batching them to a new worker?