mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
Sets the queue size to 25
This commit is contained in:
parent
7ba0ecdf5c
commit
b7d7196071
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ namespace PepperDash_Essentials_Core.Queues
|
|||
public GenericQueue(string key, Thread.eThreadPriority priority)
|
||||
{
|
||||
_key = key;
|
||||
_queue = new CrestronQueue<IQueueMessage>();
|
||||
_queue = new CrestronQueue<IQueueMessage>(25);
|
||||
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
|
||||
{
|
||||
Priority = priority
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue