1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-15 02:02:11 -04:00

Add configurable retry logic

Fixes #1382
This commit is contained in:
Zed
2026-03-21 08:30:07 +01:00
parent b726767df4
commit b6ccea0c7a
5 changed files with 31 additions and 7 deletions

View File

@@ -34,6 +34,8 @@ proxyAuth = ""
apiProxy = "" # nitter-proxy host, e.g. localhost:7000
disableTid = false # enable this if cookie-based auth is failing
maxConcurrentReqs = 2 # max requests at a time per session to avoid race conditions
maxRetries = 1 # max number of retries on rate limit errors
retryDelayMs = 150 # delay in ms between retries
# Change default preferences here, see src/prefs_impl.nim for a complete list
[Preferences]