How long to wait for bulk upload

SOLVED
Go to solution
CMLAdmin
Member

How long to wait for bulk upload

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?

 

 

1 ACCEPTED SOLUTION
DaveBerard
Moderator

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.

Dave Berard
Senior Product Manager, Constant Contact

View solution in original post

4 REPLIES 4
DaveBerard
Moderator

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.

Dave Berard
Senior Product Manager, Constant Contact

View solution in original post

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.

 

Thanks

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.

Dave Berard
Senior Product Manager, Constant Contact

Thanks for responding. It is appreciated.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page