mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 11:35:54 +08:00
Updated auth timeout to 5 min
This commit is contained in:
parent
58c3f5dc89
commit
57ea4f0dc8
@ -79,7 +79,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
self._camera_image_id = 0
|
self._camera_image_id = 0
|
||||||
|
|
||||||
self._authentication_counter = 0
|
self._authentication_counter = 0
|
||||||
self._max_authentication_counter = 30 # Number of attempts before authentication timed out.
|
self._max_authentication_counter = 5 * 60 # Number of attempts before authentication timed out (5 min)
|
||||||
|
|
||||||
self._authentication_timer = QTimer()
|
self._authentication_timer = QTimer()
|
||||||
self._authentication_timer.setInterval(1000) # TODO; Add preference for update interval
|
self._authentication_timer.setInterval(1000) # TODO; Add preference for update interval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user