mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:19:01 +08:00
Add timeout to CloudPackageChecker request
Prevents it from getting stuck in the SYNCING state CURA-7290
This commit is contained in:
parent
b6b6a39989
commit
a3f968188f
@ -67,6 +67,7 @@ class CloudPackageChecker(QObject):
|
||||
self._application.getHttpRequestManager().get(url,
|
||||
callback = self._onUserPackagesRequestFinished,
|
||||
error_callback = self._onUserPackagesRequestFinished,
|
||||
timeout=10,
|
||||
scope = self._scope)
|
||||
|
||||
def _onUserPackagesRequestFinished(self, reply: "QNetworkReply", error: Optional["QNetworkReply.NetworkError"] = None) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user