feat (Core): #898 Add name to GenericQueue Thread

This name will show up in console using the `SSPTASKS` command and allow for easier troubleshooting.
This commit is contained in:
Andrew Welker
2022-02-02 09:22:13 -07:00
parent 5d5dee2e5e
commit abdd1b38f8

View File

@@ -139,7 +139,8 @@ namespace PepperDash.Essentials.Core.Queues
_queue = new CrestronQueue<IQueueMessage>(cap);
_worker = new Thread(ProcessQueue, null, Thread.eThreadStartOptions.Running)
{
Priority = priority
Priority = priority,
Name = _key
};
SetDelayValues(pacing);