-
Notifications
You must be signed in to change notification settings - Fork 50
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
tileRequestLimit: limit concurrent connections #36
Comments
@OlivierKamers FYI |
Nice 👍 |
What kind of issues? |
I had to limit the number of requests to avoid timeouts from the request library. Externalising the function also allowed me to use a cache for tiles that are requested more than once. |
Ok, that could indeed be an improvement. I thought for now caching should be done at the tiles server side, for example via CDN. |
Due to new limitations of the OSM tiles usage policy I added
tilesRequestLimit
in [email protected] option to limit concurrent connections to the tiles server. This value is set to 2 by default and can be overwritten or disabled withtilesRequestLimit: 0
.The text was updated successfully, but these errors were encountered: