CityofSantaMonica / mds-provider

Python tools for working with MDS Provider data
https://github.com/openmobilityfoundation/mobility-data-specification
MIT License
18 stars 20 forks source link

Add optional padding to requests to reduce #54

Closed babldev closed 5 years ago

babldev commented 5 years ago

Issue When backfilling over large time volumes, a series of rapid fire requests may cause stability issues for some providers (depending on their implementation).

Proposal Add an optional field of padding_seconds that supports adding spacing between requests. This will allow providers to implement rate limits in their systems, and prevent clients from hitting those rate limits.

thekaveman commented 5 years ago

Thank you @babldev!