ManaGeorge
ManaGeorge
CDCloudflare Developers
Created by 0xthierry on 7/26/2024 in #queues-beta
hey guys, I'm using cf queue, but I'm
Was still experiencing the delay this morning, did more testing on my code, was able to re-deploy old code without the delay. I'm confident the hang is caused by my code but not sure why it's happening (I know the code that's causing it but not why that code causes it). I've been able to intentionally cause delays within my code execution by calling the bugged function, which makes me think this isn't a queues issue. Maybe a workers issue but more likely a gap in my JS/TS knowledge. The interesting thing (and what led me to thinking it was a queues issue in the first place) was that the hang happens after the function successfully executes (including the updated/changed code). Fixed it, silly bug in my code. Anyways, thanks to anyone who looked into this!
20 replies
CDCloudflare Developers
Created by gwapes on 8/15/2024 in #workers-help
unknown webhook errors discord http bot
It sounds possible that the worker isn’t scaling at the request load you get, causing delays in acking the newer requests coming out of discord. (I’m not familiar with how workers scale.) I didn’t experience that exactly but had some similar response issues, I ended up splitting my bot into two workers, one that acks then passes the interaction to a queue and another that consumes the queue messages and actually processes the interaction
36 replies
CDCloudflare Developers
Created by 0xthierry on 7/26/2024 in #queues-beta
hey guys, I'm using cf queue, but I'm
Update for anyone else experiencing this: current conclusion (from Pranshu) is that this appears to be a bug on cloudflare's end, some people have reported disconnecting/reconnecting the consumer works, for me the disconnect/reconnect results in the first message going through followed by the same 30s delay for the second message (no change in behavior, I think the 30s delay relates to the consumer finishing/releasing the message incorrectly but can't verify). I also tried making a new queue and connecting my producer/consumer to that queue, no change. Tried deploying my consumer code using older versions of wrangler (from before I was experiencing the issue), no change. The only thing that's worked for me is rolling back my consumer code to a deployment before I experienced the issue (first deployment of live with bug 8/12, previous [no bug] deployment was 8/5). Not sure why this works for me (can't find a way to see what cloudflare is using as the deployed consumer code vs the current deployment's code), but it does.
20 replies
CDCloudflare Developers
Created by NoGameNoFun on 8/14/2024 in #queues-beta
Hi everyone, I like the worker and queue
I tried disconnecting and reconnecting my consumer from dash and did not see any changes in the delay I'm experiencing so maybe unrelated issue
10 replies
CDCloudflare Developers
Created by NoGameNoFun on 8/14/2024 in #queues-beta
Hi everyone, I like the worker and queue
Can you tell if the consumer is not consuming messages at all or is just consuming them slowly? I ask because I (and it sounds like a couple other people) are experiencing 30 second delays between messages being consumed, which with the volume of messages you posted would look a lot like not consuming at all
10 replies
CDCloudflare Developers
Created by hob8yte on 5/6/2024 in #workers-help
Messages in Queue not Processing
Actually - not getting an error message on the 30 second delays and can't check the exact error I'm getting on the 15 minute delays - certain it was an "exceeded CPU limit" but unsure if it was "TypeError: Fetch API cannot load:" as well
11 replies
CDCloudflare Developers
Created by hob8yte on 5/6/2024 in #workers-help
Messages in Queue not Processing
I was able to rollback my live code to a version from ~a week ago and that no longer has the issue. Will update here if we find anything out
11 replies
CDCloudflare Developers
Created by hob8yte on 5/6/2024 in #workers-help
Messages in Queue not Processing
This sounds similar to what I'm experiencing as well (messaged in #hey guys, I'm using cf queue, but I'm)
11 replies
CDCloudflare Developers
Created by 0xthierry on 7/26/2024 in #queues-beta
hey guys, I'm using cf queue, but I'm
Sent you a DM! Thanks in advance for any help
20 replies
CDCloudflare Developers
Created by 0xthierry on 7/26/2024 in #queues-beta
hey guys, I'm using cf queue, but I'm
I’m experiencing a similar issue - queue consumer seems to get stuck and waits for cpu timeout before moving to the next message. I’ve experienced it on three queues consumers, but I was able to roll back one to a version from a week ago and I’m not experiencing the issue there. Haven’t changed my wrangler.toml, batch config, or core of my queue handler in that time. Did either of you find a solution here? @0xthierry @Pranshu Maheshwari
20 replies