Compare commits

...

3 Commits

Author SHA1 Message Date
David Rodenkirchen
11d4e89b94 blub 2026-04-29 12:26:41 +02:00
David Rodenkirchen
aee55a4292 rollback 2026-04-29 12:24:45 +02:00
David Rodenkirchen
e15cbcbdd6 Improve Performance 2026-04-29 12:14:37 +02:00

View File

@ -43,7 +43,7 @@ class NfcReaderService:
if uid_hex == self._last_uid: if uid_hex == self._last_uid:
connection.disconnect() connection.disconnect()
time.sleep(0.5) time.sleep(1)
self._last_uid = None self._last_uid = None
continue continue
@ -57,7 +57,7 @@ class NfcReaderService:
self._last_write = now self._last_write = now
except (CardConnectionException, NoCardException): except (CardConnectionException, NoCardException):
pass time.sleep(0.5)
finally: finally:
try: try: