fix: configurable ping endpoint frequency and better goal completion detection

This commit is contained in:
Twirre Meulenbelt
2026-02-09 17:06:35 +01:00
parent df489f4ac3
commit c6cb883cd1
3 changed files with 6 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ async def ping_stream(request: Request):
sub_socket.setsockopt(zmq.SUBSCRIBE, b"ping")
connected = False
ping_frequency = 2
ping_frequency = settings.behaviour_settings.sleep_s + 1
# Even though its most likely the updates should alternate
# (So, True - False - True - False for connectivity),