From b9057ba5b4b2c7c747379711da0a5c9f8ae8c6ac Mon Sep 17 00:00:00 2001 From: George Pollard Date: Fri, 21 Apr 2023 04:15:42 +0000 Subject: [PATCH] Ugh 63, not 64 --- src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs b/src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs index e7f76b0bef5..4fb480cdbca 100644 --- a/src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs +++ b/src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs @@ -16,13 +16,13 @@ public ShrinkQueue(Guid poolId, IQueue queueOps, ILogTracer log) : this(poolId.ToString("N"), queueOps, log) { } private ShrinkQueue(string baseId, IQueue queueOps, ILogTracer log) { - var name = ShrinkQueueNamePrefix + baseId; + var name = ShrinkQueueNamePrefix + baseId.ToLowerInvariant(); - // queue names can be no longer than 64 characters + // queue names can be no longer than 63 characters // if we exceed that, trim off the end. we will still have // sufficient random chracters to stop collisions from happening - if (name.Length > 64) { - name = name[..64]; + if (name.Length > 63) { + name = name[..63]; } QueueName = name;