mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +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>
|
/// </summary>
|
||||||
/// <param name="key"></param>
|
/// <param name="key"></param>
|
||||||
public GenericQueue(string key)
|
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
|
/// Constructor for generic queue with no pacing
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="key">Key</param>
|
/// <param name="key">Key</param>
|
||||||
|
/// <param name="priority"></param>
|
||||||
public GenericQueue(string key, Thread.eThreadPriority priority)
|
public GenericQueue(string key, Thread.eThreadPriority priority)
|
||||||
{
|
{
|
||||||
_key = key;
|
_key = key;
|
||||||
|
|||||||
Reference in New Issue
Block a user