added small sleeper

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-16 00:33:40 +01:00
parent 227b5d2b8d
commit 800292d7fd
1 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,8 @@ def start_mqtt_publishers():
mqtt_client.publish(topic, str(dmxPacket[i-1])) mqtt_client.publish(topic, str(dmxPacket[i-1]))
except KeyboardInterrupt: except KeyboardInterrupt:
break break
time.sleep(0.0001)
except Exception as e: except Exception as e:
print(e) print(e)
except KeyboardInterrupt: except KeyboardInterrupt: