Updated auth timeout to 5 min

This commit is contained in:
Jaime van Kessel 2016-06-29 13:33:31 +02:00
parent 58c3f5dc89
commit 57ea4f0dc8

View file

@ -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