Forum Discussion

Leslie_Sanford's avatar
Leslie_Sanford
Channel Surfer
8 years ago

Increase roURLTransfer timeout

Hi,

Is there a way to increase roURLTransfer's timeout?

The default seems to be 3 seconds, and in looking at the API, I've not found a way to change that. I must be overlooking something.

3 Replies

  • destruk's avatar
    destruk
    Streaming Star
    Timeouts for the render thread are 3 seconds.  Timeouts for the task thread are 30 seconds.  Run the rourltransfer in a task thread.
  • "destruk" wrote:
    Timeouts for the render thread are 3 seconds.  Timeouts for the task thread are 30 seconds.  Run the rourltransfer in a task thread.

    I think I see what may be happening. I'm using the async functions for fetching data from the URL transfer object. I'm creating and running the URL transfer object within a task, but I'm also creating a message port to receive the async results. This is because I need the headers and the response code.
    Could the URL transfer object using a message port cause it to run in a different thread and thus use the 3 second timeout?
  • Sorry, please disregard this thread. I realized that there was a different reason for my requests timing out. It didn't have anything to do with roURLTransfer.