Closed matkoniecz closed 1 month ago
It seems there is a timeout parameter for requests
, so maybe this should be available as a parameter with a sensible default.
I think if you pass your own requests session object to Osmapi you could already define a timeout, but that"s not really obvious.
sometimes response from OSM API never arrives and osmapi hangs
at least for me raising exception on timeout would be preferable over entire program hanging forever
when I force-stopped it after minutes of waiting it gave me following stacktrace: