Sync endpoint returns prematurely
Sync endpoint sometimes randomly (about half of the time) responds prematurely with in progress json. The job finished however, I need the sync not to respond until the job is done.
6 Replies
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
OHh so If I keep pining the connection will stay alive?
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
How do I force the connection to stay longer? @nerdylive Currently our architecture doesnt support async
Just need temporary quick solution to use /runsync
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
you can use webhook, after job done, it will notify you with result.
https://docs.runpod.io/serverless/endpoints/send-requests#webhooks
Send a request | RunPod Documentation
Learn how to construct a JSON request body to send to your custom endpoint, including optional inputs for webhooks, execution policies, and S3-compatible storage, to optimize job execution and resource management.