Skip to content

Commit

Permalink
Decrease the pywikibot retries - resolves #55
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Dec 25, 2024
1 parent f614e22 commit 46f49e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions user-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@
console_encoding = 'utf-8'

password_file = 'user-password.py'

# https://doc.wikimedia.org/pywikibot/stable/api_ref/pywikibot.config.html#settings-to-avoid-server-overload
# Maximum number of times to retry an API request before quitting.
max_retries = 1
# Minimum time to wait before resubmitting a failed API request.
retry_wait = 5
# Maximum time to wait before resubmitting a failed API request.
retry_max = 10

0 comments on commit 46f49e5

Please sign in to comment.