Be more strict with resetting queue warnings, to prevent spam

This commit is contained in:
RogueException
2016-02-22 00:22:58 -04:00
parent 1ef5e4a1ca
commit 5decad09a1

View File

@@ -236,7 +236,7 @@ namespace Discord.Net
private void DecrementCount()
{
int count = Interlocked.Decrement(ref _count);
if (count < WarningStart) //Reset once the problem is solved
if (count < (WarningStart / 2)) //Reset once the problem is solved
_nextWarning = WarningStart;
}