From 5f60c516bb6c75f2f2dd4d89c30c09b6ab65adc6 Mon Sep 17 00:00:00 2001 From: E Thomas Date: Mon, 26 Mar 2018 04:00:42 -0400 Subject: [PATCH] Add 'speakObjsQueue' for phonetic calls Queue for phonetic calls. Also adds commas to phonetic calls for pauses between name / lap / time. --- src/delta5server/server.py | 2 +- src/delta5server/templates/race.html | 36 ++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/src/delta5server/server.py b/src/delta5server/server.py index 631d9b5..3f9a5f7 100644 --- a/src/delta5server/server.py +++ b/src/delta5server/server.py @@ -796,7 +796,7 @@ def heartbeat_thread_function(): '''Emits current rssi data.''' while True: SOCKET_IO.emit('heartbeat', INTERFACE.get_heartbeat_json()) - gevent.sleep(0.500) + gevent.sleep(0.100) def ms_from_race_start(): '''Return milliseconds since race start.''' diff --git a/src/delta5server/templates/race.html b/src/delta5server/templates/race.html index 3a7d9f1..5363709 100644 --- a/src/delta5server/templates/race.html +++ b/src/delta5server/templates/race.html @@ -3,6 +3,10 @@ {% endblock %} {% block content %}