We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b515e commit 95f61b9Copy full SHA for 95f61b9
mautrix/client/api/modules/media_repository.py
@@ -290,7 +290,7 @@ async def _upload_to_url(
290
min_iter_size: int = 25 * 1024 * 1024,
291
) -> None:
292
retry_count = self.api.default_retry_count
293
- backoff = 4
+ backoff = 2
294
do_fake_iter = data and hasattr(data, "__len__") and len(data) > min_iter_size
295
if do_fake_iter:
296
headers["Content-Length"] = str(len(data))
0 commit comments