-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Tile server is limiting the number of requests for icons #91
Comments
Hi @pratikmdhr @dadiorchen I haven't experienced requests being limited. API seems to serve different set of icons instantly, even if different coordinates are passed. As an extra precaution, I disabled cache for the local port the Docker container was bound to. Not sure what may be causing @pratikmdhr to experience the issues demoed last week. Screenshare.-.2022-02-16.11_32_02.PM.mp4. |
@kparikh9 can you try this:
|
@dadiorchen changing between:
I don't think anything is wrong with the code - is there any type of console/logger in Digital Ocean that can show if served images are being cached or not? |
Sorry, I didn't express it clearly, I just use 'suit1' for an example, you should replace it with the correct value, I saw in your video, when you visited: /1/1/1.png?icon=o then you switched to /1/1/2.png?icon=ptk-s, it then changes to visiting another file, I need you keep the file the same, (/1/1/1.png) and change the parameter/query, (/1/1/1.png?icon=ptk-b) |
I will find a way to share you the login credential to check the log on digitalocean |
I can not find any potential cache interefrance. |
@dadiorchen No worries. I had already checked this before making the original video. The tiles are served correctly when changing the icon parameter. If there isn't any cache interference then I'm not sure what the issue is? |
Description
Tile server is limiting the number of requests from the map client for the tree icons. Right now only 1 request per minute is going through, if more than 1 request is made within 1 minute for a new set of icons, the map client doesnt receive the new icons but strangely the status code is still 200.
Also, the issue seems to be related to one particular zoom level, meaning, if icon is switched in less than 1 minute, the new icon wont show up in that zoom level, but if the map is zoomed in, the new icons appear
The text was updated successfully, but these errors were encountered: