I'm trying to solve the exact same issue! Very interesting read, you say this method is naive and doesn't cover all use cases, Isn't this a situation that happens a lot? What is the method by-the-book to cover a situation like this?
Thanks Miguel. It’s naive because i do not have any special heuristic if 10 times retry is enough. No model, network properties or image properties.
I did some research back then but could not find a by-the-book solution. If have this code in production and so far it works very well. I monitoring it with Sentry and it works reliable
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm trying to solve the exact same issue! Very interesting read, you say this method is naive and doesn't cover all use cases, Isn't this a situation that happens a lot? What is the method by-the-book to cover a situation like this?
Thanks Miguel. It’s naive because i do not have any special heuristic if 10 times retry is enough. No model, network properties or image properties.
I did some research back then but could not find a by-the-book solution. If have this code in production and so far it works very well. I monitoring it with Sentry and it works reliable