mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-05 06:23:13 +00:00
fix: make retry policy match deluge node for agent client
This commit is contained in:
parent
34a179b110
commit
32d623f5bd
@ -22,8 +22,8 @@ class DelugeAgentClient(ExperimentComponent):
|
||||
|
||||
def generate(self, size: int, seed: int, name: str) -> Torrent:
|
||||
@retry(
|
||||
stop=stop_after_attempt(5),
|
||||
wait=wait_exponential(multiplier=1, min=4, max=16),
|
||||
stop=stop_after_attempt(10),
|
||||
wait=wait_exponential(exp_base=2, min=4, max=16),
|
||||
)
|
||||
def _request():
|
||||
return requests.post(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user