From e59dca0c4db95cdb8c391d906d18bdcc8dc77114 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Sat, 19 Mar 2022 13:29:32 +0200 Subject: [PATCH] this.flags was not set, resulting in the default .init for QueuePolicy being used and enforcing LENGHT_CAPPING by default even when default behaviour should be not to, per the constructors (this()'s) parameters --- source/tristanable/queue.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/tristanable/queue.d b/source/tristanable/queue.d index 5747ae2..ecde08b 100644 --- a/source/tristanable/queue.d +++ b/source/tristanable/queue.d @@ -44,6 +44,8 @@ public final class Queue /* Initialize the mutex */ queueLock = new Mutex(); + + this.flags = flags; } public void setLengthCap(ulong lengthCap)