settings.toml 986 B

123456789101112131415161718192021
  1. [snapshots]
  2. # How many days in the past snapshots will be looked for
  3. days_in_past=3
  4. # We will attempt to find snapshots that are close to those hours (in local time)
  5. hours=[8, 12, 18, 22]
  6. [internet_archive]
  7. # The 2 next settings allow limiting the rate at which requests will be sent to the Internet Archive.
  8. # In a given interval of limiter_time_period (in seconds), at most limiter_max_rate requests will be sent.
  9. # The `max_rate` setting of AsyncLimiter : https://aiolimiter.readthedocs.io/en/latest/#aiolimiter.AsyncLimiter
  10. limiter_max_rate=1.0
  11. # The `time_period` setting of AsyncLimiter : https://aiolimiter.readthedocs.io/en/latest/#aiolimiter.AsyncLimiter
  12. limiter_time_period=1.0
  13. # Number of seconds during which no request will be sent after a "429 Too Many Requests"
  14. # HTTP error has been received
  15. relaxation_time_after_error_429=60
  16. # Number of seconds during which no request will be sent after encountering a TCP connection
  17. # error
  18. relaxation_time_after_error_connect=60