Banner dequeue if more than 50 waiting
This commit is contained in:
parent
055e28316f
commit
b89ffca9ad
|
@ -76,6 +76,13 @@ namespace Mk0.GUI.Banner
|
|||
{
|
||||
timerAnzeigen.Interval = 250;
|
||||
}
|
||||
if (queue.bol.Count >50)
|
||||
{
|
||||
for (int i = 0; i < 40; i++)
|
||||
{
|
||||
queue.bol.Dequeue();
|
||||
}
|
||||
}
|
||||
timerAnzeigen.Start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue