Right now, my code waits for 5 minutes for it to complete.
But the uploads lately have taken a lot more time, maybe half an hour, to complete.
They run at 12:05 Am CST.
What would be a better timeout?
Solved! Go to Solution.
We do not make any guarantees on time that bulk imports will take. We do process them on a FIFO queue basis and, depending on traffic from other customers, this queue can take longer to process than other times. We recommend using the status endpoint to monitor the status of the job as it moves through the QUEUED -> PENDING -> RUNNING -> COMPLETE/ERROR cycle.
That IS what we do, but I limit it to 5 minutes.
I guess I can bump it up to a few hours.
We never had this issue until 11/7/2013.
But I can understand how this could happen if some big activities got in the queue ahead of us.
We're going to look into the average run time for imports over the past few weeks to make sure that these times have not gone up and, if they have, look into why they did and get that cleared up.