mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue