A sluggish network might cause delays on message deliveries. If the distributor sends messages to the players asking to play a sound, and the player receives it after a looooong time (10 seconds or more) after the original timestamp that the message should be played at, then the player should drop the message.
This at the moment is set to 10 seconds, but ideally it would be nice to parametrize it as an environment variable.
A sluggish network might cause delays on message deliveries. If the distributor sends messages to the players asking to play a sound, and the player receives it after a looooong time (10 seconds or more) after the original timestamp that the message should be played at, then the player should drop the message.
This at the moment is set to 10 seconds, but ideally it would be nice to parametrize it as an environment variable.
https://github.com/eulersson/taconez/blob/6bd34486a00cd8f75cc597ee1971b9543cf7a7b8/sound-player/src/process_loop.c#L40