deploy_feedback
deploy_feedback copied to clipboard
enqueue/dequeue takes many seconds sometimes
If my server is down and gets a new request, which it offloads to a queue, I see very large delays between enqueue time and dequeue.
How can I avoid this? My requirements is to return 200 immediately and do offline processing which is time sensitive.
I'm afraid that calling an async function without await could be aborted due to my server going down.
One solution I could think of is just making another request to the server, but I would very much not want to do that just for latency as it's much less pretty.
That doesn't work either
508: Loop Detected (LOOP_DETECTED)
Recursive requests to the same deployment cannot be processed.