mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Updated auth timeout to 5 min
This commit is contained in:
parent
58c3f5dc89
commit
57ea4f0dc8
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._camera_image_id = 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.setInterval(1000) # TODO; Add preference for update interval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue