Philipp Hörist pushed to branch master at gajim / gajim


Commits:
19aa1373 by Philipp Hörist at 2025-12-30T00:23:31+01:00
imprv: HTTPUpload: Raise timeout

The default timeout of 5 seconds could lead to timeouts on slow connections

- - - - -


1 changed file:

- gajim/common/modules/httpupload.py


Changes:

=====================================
gajim/common/modules/httpupload.py
=====================================
@@ -256,6 +256,7 @@ def _upload_file(self, transfer: HTTPFileTransfer) -> None:
             input_=transfer.path,
             with_progress=True,
             proxy=determine_proxy(self._account),
+            timeout=30,
             user_data=transfer,
             callback=self._on_finish,
         )



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/19aa13730788ab0e6c47f66d5dff2f192d8d5281

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/19aa13730788ab0e6c47f66d5dff2f192d8d5281
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to