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

This commit is contained in:
Tristan B. Velloza Kildaire 2022-03-19 13:29:32 +02:00
parent ad99ef63d9
commit e59dca0c4d
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ public final class Queue
/* Initialize the mutex */
queueLock = new Mutex();
this.flags = flags;
}
public void setLengthCap(ulong lengthCap)