R
Runpod•15mo ago
shockz

Does /runsync have a timeout?

Hello there. I'm trying to figure out if the syncronous endpoints do have a default timeout. The doc states that they're "ideal for short-lived tasks", but it only talks about recommendation rather than actual requirements. Thanks!
24 Replies
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
So i could even have an endpoint with /runsync running for 1-3minutes, as long as my specified timeout is longer than that?
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
so its going to switch into what /run would be doing?
Domingo
Domingo•15mo ago
@nerdylive sorry is there a reference to this in the documentation? I cannot find this anywhere I find it very difficult to believe that Runpod is doing something like this, is super antipattern If I call a sync API I should get an error OR a sync response
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Domingo
Domingo•15mo ago
I dont find anything about this transformation of a /runsync to /run in the docs, even the AI does not find anything
No description
Domingo
Domingo•15mo ago
Another query, I'm almost 100% sure there is no reference to this behaviour in the docs
No description
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Domingo
Domingo•15mo ago
I'm sorry but that is not what is stated there
Domingo
Domingo•15mo ago
/run will give us a job ID /runsync will give us the result of the worker
No description
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
i think we believe what you're saying, but the point is that we should revise the documentation because it doesn't state the same
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Domingo
Domingo•15mo ago
is not that I dont beleive you, is that we are paying for a service that is not doing what is stated in the docs can you raise this ticket to second level?
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Domingo
Domingo•15mo ago
I dont want to "suggest" I want the company to answer for a miss direction We'll try the email route then thanks
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
you've been helpful anyways to solve our doubts, at least now we know what to expect đź«  thanks!
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
We’ll surely look into using /run + webhooks as the /runsync behavior is completely unpredictable. After some tests from our end, we believe that the “behavior” switch happens upon 60s of waiting time (worker not ready, queues…) rather than execution time.
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
shockz
shockzOP•15mo ago
Not really, we managed to get responses after 70s as we had about 35s of waiting time and 35s of execution time. It’s definitely a bit confusing :$
Unknown User
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?