Browse Source

Be more strict with resetting queue warnings, to prevent spam

tags/docs-0.9
RogueException 9 years ago
parent
commit
5decad09a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/MessageQueue.cs

+ 1
- 1
src/Discord.Net/MessageQueue.cs 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;
}



Loading…
Cancel
Save