mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-02 06:14:52 +00:00
Merge pull request #575 from PepperDash/hotfix/fix-queue-priority
Set default queue thread priority to medium
This commit is contained in:
@@ -28,7 +28,7 @@ namespace PepperDash_Essentials_Core.Queues
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
public GenericQueue(string key)
|
||||
: this(key, Thread.eThreadPriority.NotSet)
|
||||
: this(key, Thread.eThreadPriority.MediumPriority)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -37,6 +37,7 @@ namespace PepperDash_Essentials_Core.Queues
|
||||
/// Constructor for generic queue with no pacing
|
||||
/// </summary>
|
||||
/// <param name="key">Key</param>
|
||||
/// <param name="priority"></param>
|
||||
public GenericQueue(string key, Thread.eThreadPriority priority)
|
||||
{
|
||||
_key = key;
|
||||
|
||||
Reference in New Issue
Block a user