From 5c23aeca48062e071a4907b33b59d13d34a20f3b Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Mon, 8 Feb 2021 16:10:08 -0700 Subject: [PATCH] Adds missing constructor to take both pacing and capacity arguments --- .../PepperDashEssentialsBase/Queues/GenericQueue.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Queues/GenericQueue.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Queues/GenericQueue.cs index 46deddf7..e1b175a6 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Queues/GenericQueue.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Queues/GenericQueue.cs @@ -76,7 +76,16 @@ namespace PepperDash_Essentials_Core.Queues { } - + /// + /// Constructor with pacing and capacity + /// + /// + /// + /// + public GenericQueue(string key, int pacing, int capacity) + : this(key, _defaultPriority, capacity, pacing) + { + } /// /// Constructor with pacing and priority