Processor usage reduction
Este commit está contenido en:
padre
09d8dc6ccb
commit
ae44e9495e
@ -4,6 +4,7 @@ import mqtt
|
||||
import report
|
||||
import select
|
||||
from systemd import journal
|
||||
import time
|
||||
|
||||
|
||||
try:
|
||||
@ -53,4 +54,5 @@ if __name__ == "__main__":
|
||||
if PLAY in entry['MESSAGE']:
|
||||
playing = True
|
||||
send_state_msg_mqtt(mc, playing)
|
||||
logger.debug(str(entry['__REALTIME_TIMESTAMP'] )+ ' ' + entry['MESSAGE'])
|
||||
logger.debug(str(entry['__REALTIME_TIMESTAMP'] )+ ' ' + entry['MESSAGE'])
|
||||
time.sleep(0.1)
|
||||
|
Cargando…
x
Referencia en una nueva incidencia
Block a user