Status "in-queue"

Hi! I am running my serverless endpoint in sync mode. Sometimes I get response like
{'delayTime': 85437, 'id': 'sync-822bbbf3-bae5-4efa-bbfa-9658ffda0175-u1', 'status': 'IN_PROGRESS'} or status in-queue. 1) why in sync mode it sends back in complete response? 2) how to get an actual completed response after I get the above response?
9 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
EngrBilal.
EngrBilal.OP16mo ago
How am I supposed to check status every second? Isn't it like the request response cycle gets completed after it sends me back status in progress ?
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
EngrBilal.
EngrBilal.OP16mo ago
Sorry I got that wrong,it's /status endpoint and not the keyword
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
flash-singh
flash-singh16mo ago
you can use /status-sync instead of /status, it will do blocking call like runsync
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
flash-singh
flash-singh16mo ago
its same 60s, its due to cloudflare timeouts
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?