Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All values are JSON-encoded time delta objects and can contain the keys seconds, minutes, hours, days, weeks. To avoid thundering herd problems, there is some randomness applied to these values (+/- one fourth of the delay).

KeyUsageDefault for News
check_delayHow long after the first check and after errors the source is polled again. The delay is exponentially increased with each error.

{"minutes": 1}

max_error_delayThe maximum delay after errors.{"days": 3}
success_delay

Delay when

new items were successfully received. If there were

the Bing API request succeeded.

When no new items

in a request, the check_delay is used instead

were found, this interval is increased with each request. This ensures that sources with very low result frequency don't use up too much of the API quota.

{"minutes": 15}
max_success_delayThe maximum delay when there are no errorsno new items were found.

{"hours": 12}

To avoid thundering herd problems, there is some randomness applied to these values (+/- one fourth of the delay).

Example Configuration

Code Block
languagetext
[source_manager]
check_delay = {"minutes": 1}
max_error_delay = {"days": 3}
success_delay = {"minutes": 15}
max_success_delay = {"hours": 12}

[source_manager_web]
check_delay = {"days": 1}
max_error_delay = {"days": 7}
success_delay = {"days": 1}
max_success_delay = {"days": 3}