This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Timing issue with upload and overwrite:false

Comments

4 comments

  • Avatar
    Wissam Khalili

    Hi Raymond,

    I would suggest adding a timer for each upload in the code and seeing where it is consuming most of the time.
    Maybe there is an image that is heavy in size.

    I could check your logs if I had your Cloud name.
    Could you open a ticket by filling out this form: 
    https://support.cloudinary.com/hc/en-us/requests/new

    Regards,

    Wissam

    0
    Comment actions Permalink
  • Avatar
    Raymond Camden

    But if I have overwrite to false, why would it upload?

    0
    Comment actions Permalink
  • Avatar
    Eric Pasos

    Hi Raymond,

    When the overwrite parameter is set to false, a response is returned immediately if an asset with the same Public ID was found and the upload response will contain: "existing": "True". The second upload is faster based on the tests done for the traces below.

    In case you are experiencing some delay, kindly help to raise a support ticket providing the responses (or log traces) from your application so we could further investigate it.

    First upload response:

     

    Second upload response:

    0
    Comment actions Permalink
  • Avatar
    Raymond Camden

    As requested, I filed the issue here, https://support.cloudinary.com/hc/en-us/requests/204562. To be clear, I know how overwrite is supposed to work, it just doesn't seem to be working for me. Ie, even though overwrite is false, it still takes 30ish seconds for the code to run, despite the images already being uploaded.

    0
    Comment actions Permalink

Post is closed for comments.