Processor usage reduction

This commit is contained in:
Dirk Alders 2024-02-11 15:58:35 +01:00
parent 09d8dc6ccb
commit ae44e9495e

View File

@ -4,6 +4,7 @@ import mqtt
import report
import select
from systemd import journal
import time
try:
@ -54,3 +55,4 @@ if __name__ == "__main__":
playing = True
send_state_msg_mqtt(mc, playing)
logger.debug(str(entry['__REALTIME_TIMESTAMP'] )+ ' ' + entry['MESSAGE'])
time.sleep(0.1)