<div dir="ltr"><div><div><div><div>Hi and thank you both for this information :)<br><br></div>Indeed, changelog told me 7.52 introduces this new rate limitation rule.<br></div>No problem for me : I've added a new waiting time in case of 429 error to retry up to 4 times (delay is increased as much as failed tries).<br></div><div>The involved script is just a daily (or weekly) pull component which doesn't require to get instant data as you may need to. So I can wait couple of minutes to retry.<br></div><div><br></div>The issue I see is since we can't determine how high is our load on the server side, we can't choose the best time to send a request.<br></div>429 error shouldn't return plain html but a time to wait until next call (for the same request if the time to wait depends on the size of the request).<br><div><div>Basically, plain html output isn't easy to handle for a machine. oAPI may look at Accept header to choose the best way to interact with the client.<br></div><div>I'll post it in the github pull request.<br><br><br></div><div>Cheers<br><br></div><div>François<br></div><div><div><div><br><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b>François Lacombe</b><br><br>fl dot infosreseaux At gmail dot com<br><a href="http://www.infos-reseaux.com" target="_blank">www.infos-reseaux.com</a><br><a href="http://www.twitter.com/InfosReseaux" target="_blank">@InfosReseaux</a></div></div></div>
<br><div class="gmail_quote">2016-06-12 11:51 GMT+02:00 mmd <span dir="ltr"><<a href="mailto:mmd.osm@gmail.com" target="_blank">mmd.osm@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> there are basically two issues here:<br>
><br>
> 1. kill_my_queries currently has no effect. The query keeps on running<br>
> on the server.<br>
><br>
<br>
</span>Small addition: in your case, kill_my_queries confirmed that there's no<br>
query running on the server.<br>
<br>
If you ever get a message, that the query was killed, you can assume<br>
that the query still continues running on the server (at least as long<br>
as the bug is not fixed).<br>
<br>
In that case, I would wait for some time, try to kill the query again,<br>
until you finally get a response that no query is running anymore, etc.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>