cyclestreets / cyclestreets-r

An R interface to cyclestreets.net APIs
https://rpackage.cyclestreets.net/
GNU General Public License v3.0
27 stars 7 forks source link

Reduce waiting time in batch() #66

Closed Robinlovelace closed 1 year ago

mvl22 commented 1 year ago

Is this polling time for results? Or wait time between requests? If the latter, I would just get rid of it.

Robinlovelace commented 1 year ago

It's how long to wait before it asks for the data back. After that it asks for the data every 10s:

https://github.com/cyclestreets/cyclestreets-r/blob/86901c4e0776c12b3fda0e2cea5805a75ed16b31/R/batch.R#L157-L163

Open to suggestions of better ways to do this..