-
Notifications
You must be signed in to change notification settings - Fork 11
adding retry for tile requests #57
Comments
a quick idea would be;
|
@isiyu is a retry count the proper solution? It seems to me that throwing errors and letting developers handle with their own solution is best (usually this will result in a retry). In most cases, I've seen tiles fail to load because of a rate request exceeded error. A blanket retry could lead to inefficient (and unnecessary) requests that might lead to additional errors. #55 |
I think you're right. I can't remember any other type of fetching errors given the correct url. |
sounds like there's some conversations happening around retries here: https://github.com/mapbox/api/issues/30 Overall I think we can retry certain types of failures (mainly timeouts), things like rate limits or 4XX errors we would not retry. This would be focused on the 1-2 missing tiles issue. The other issue that we're masking here is I'm not sure how we're handling timeouts on the unity-sdk (between the unity sdk and the cs sdk) side. |
I don't think we are handling timeouts at all. Good candidate to add as a feature when we overhaul the |
related to reporting errors
#55
can we also add a retry option to the parameters input to tile objects here? loading map tiles sometimes I've noticed one or two tiles time out and not load before. Would be helpful to have a retry option here. cc @BergWerkGIS @brnkhy
The text was updated successfully, but these errors were encountered: