mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
Merge pull request #572 from PepperDash/feature/genericqueue-upgrades
Sets the queue size to 25
This commit is contained in:
@@ -40,7 +40,7 @@ namespace PepperDash_Essentials_Core.Queues
|
|||||||
public GenericQueue(string key, Thread.eThreadPriority priority)
|
public GenericQueue(string key, Thread.eThreadPriority priority)
|
||||||
{
|
{
|
||||||
_key = key;
|
_key = key;
|
||||||
_queue = new CrestronQueue<IQueueMessage>();
|
_queue = new CrestronQueue<IQueueMessage>(25);
|
||||||
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
|
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
|
||||||
{
|
{
|
||||||
Priority = priority
|
Priority = priority
|
||||||
|
|||||||
Reference in New Issue
Block a user