Ignore messages that are in queue for too long
This commit is contained in:
parent
b35183249b
commit
893cd6f192
@ -55,6 +55,12 @@ namespace TwitchChatTTS
|
||||
return;
|
||||
}
|
||||
|
||||
if (DateTime.UtcNow - group.Timestamp > TimeSpan.FromSeconds(60))
|
||||
{
|
||||
_logger.Debug("Ignored message due to being in queue for too long.");
|
||||
continue;
|
||||
}
|
||||
|
||||
FetchMasterAudio(group);
|
||||
}
|
||||
catch (COMException e)
|
||||
|
Loading…
Reference in New Issue
Block a user