the default value of Timeout of Cloudinary's UploadAPI

Taka718
Taka718 Member Posts: 2
edited January 31 in Developer APIs

I am designing a PGM that sends images to Cloudinary using Pythone SDKS.

And I am designing a retry to handle errors, but the client is asking for a basis for the number of retries and retry time.

So I would like to know the default value of Timeout of Cloudinary's UploadAPI as a reference value.

Tagged:

Answers

  • Tamara
    Tamara Member, Cloudinary Staff Posts: 124

    Hi there,

    Our Python SDK does not have a built-in timeout parameter specifically for the Upload API. However, you can control the timeout behavior by setting a timeout on the HTTP requests made by the SDK:

    `result = cloudinary.uploader.upload("your_image.jpg", timeout=timeout_value)`

    Best,

    Tamara

  • Taka718
    Taka718 Member Posts: 2

    Hi Tamara

    I see. Thanks you for your kind and clear avswer.

    I will try to other aproach in order to explain for reason that I setting the value about retry number and time.

    Best,

    Taka