传单路由机器 OSRM 状态代码 429 的请求过多

leaflet-routing-machine OSRM too many requests with status code 429

我使用了带有 OSRM 的 leaflet-routing-machine。但是服务器 returns 执行以下代码时状态代码为 429 的请求过多

L.Routing.control({
        waypoints: [
            L.latLng(57.74, 11.94),
            L.latLng(57.6792, 11.949)
        ]
    }).addTo(map);

OSRM 服务 url 是 https://router.project-osrm.org/route/v1/driving/11.94,57.74;11.949,57.6792?overview=false&alternatives=true&steps=true&hints=

我还能怎么做?

演示服务器 documentation 声明:

The demoserver will have a service-wide rate limit of 5000 req/minute. Looking at past logs, it stays below this about 98% of the time, but be prepared for HTTP 429 responses, and be aware that heavy usage may cause rate limiting for everyone else if you flood the server.