Gamengineer314
Gamengineer314
CDCloudflare Developers
Created by Gamengineer314 on 6/29/2023 in #workers-help
How to make a worker call itself and verify that the call came from that same worker
Hello! Sometimes I have to run quite big functions that take longer than 10 ms of CPU time. That's why I was wondering if it's possible for a worker to call itself to "split" the request in a few smaller request (that would fix the CPU time issue right?). I guess it is possible with service bindings (can I bind a worker to itself?) but is it possible to make sure that the request came from the same worker? I wouldn't want someone to find the URL and be able to call the parts of the functions...
4 replies
CDCloudflare Developers
Created by Gamengineer314 on 6/25/2023 in #workers-help
KV.get is not returning the same value depending on the circumstances
Hello! I have a really weird problem with KVs. I am trying to get the same KV in 3 different circumstances : - A request I do from my browser - A request Discord sends me (when I use a slash command for my bot) - The wrangler kv:key get command In the first case, the value is up to date but in the 2 other cases, I get outdated data (I changed it about 10 minutes ago) and it does not update. I have no idea what could be causing this 😦
4 replies
CDCloudflare Developers
Created by Gamengineer314 on 5/18/2023 in #workers-help
Cron events happen multiple times every time
9 replies