Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit b9057ba

Browse files
authored
Ugh 63, not 64
1 parent 0112715 commit b9057ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ApiService/ApiService/onefuzzlib/ShrinkQueue.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ public ShrinkQueue(Guid poolId, IQueue queueOps, ILogTracer log)
1616
: this(poolId.ToString("N"), queueOps, log) { }
1717

1818
private ShrinkQueue(string baseId, IQueue queueOps, ILogTracer log) {
19-
var name = ShrinkQueueNamePrefix + baseId;
19+
var name = ShrinkQueueNamePrefix + baseId.ToLowerInvariant();
2020

21-
// queue names can be no longer than 64 characters
21+
// queue names can be no longer than 63 characters
2222
// if we exceed that, trim off the end. we will still have
2323
// sufficient random chracters to stop collisions from happening
24-
if (name.Length > 64) {
25-
name = name[..64];
24+
if (name.Length > 63) {
25+
name = name[..63];
2626
}
2727

2828
QueueName = name;

0 commit comments

Comments
 (0)