aboutsummaryrefslogtreecommitdiffstats
path: root/requirements-dev.txt
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-12-24 21:15:18 -0800
committerJesús <heckyel@hyperbola.info>2020-12-25 22:56:19 -0500
commitb567a34ecd0c9c627d22faab97393107eccc314c (patch)
tree69f528fed664c05d92af87d708aa5a9488dd1a88 /requirements-dev.txt
parent6145b66d7468661dc5d68853a5a5a1b53d697a90 (diff)
downloadyt-local-b567a34ecd0c9c627d22faab97393107eccc314c.tar.lz
yt-local-b567a34ecd0c9c627d22faab97393107eccc314c.tar.xz
yt-local-b567a34ecd0c9c627d22faab97393107eccc314c.zip
TorManager: Add delay before subsequent new identity retries
The request can be retried immediately after the first new identity, but if we do more new identities, we have to wait for at least 6 seconds before doing the request, otherwise it won't be done on a new ip based on my experiments. Potential issue: If after getting third new identity, request takes > 12 seconds (since timeout is 15) and returns 429, then the Tor Manager will let it do a 4th try instead of giving up (meaning request is taking forever from user's perspective). Should be a very rare occurence however. Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'requirements-dev.txt')
0 files changed, 0 insertions, 0 deletions