Skip to main content

How to set the timeout of API for more than 100 seconds?

Comments

4 comments

  • Brian Luk

    Hi,

    Could you try updating `Api.Timeout` to 100 seconds?

    Note that you could also utilize `async:True` and `notification_url` when calling this method, so you can use a webhook to be notified when the zip is generated.

    Best,

    Brian

    0
  • MyeongJong Sim

    Hi,

    I changed the 'Timeout' of Cloudinary API to more than 100 seconds.

    However, Its maximum timeout is 100 seconds.

    It seems to control the 'Timeout' of API by backend service.

    Thanks.

    0
  • Roee Ben Ari

    HI,

    As you're creating quite a big archive files, as Brian mentioned, we recommend you run the request asynchronously by setting the Async parameter to true along with notification_url, so you'll be notified once the request has completed. 

    e.g., 

    archiveParams.Async(true);
    archiveParams.NotificationUrl(myNotificationURL);

    For more information:
    https://cloudinary.com/documentation/notifications


    0
  • MyeongJong Sim

    Thank you for your support.

    0

Post is closed for comments.