@zgeoff/atc 2.26.5 → 2.26.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -649,10 +649,11 @@ interface ImpHost {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
function buildImpSessionName(sessionID: string): string {
|
|
652
|
+
// The prefix plus 28 chars stays inside the 32-char session limit.
|
|
652
653
|
return `atc-${sessionID
|
|
653
654
|
.toLowerCase()
|
|
654
655
|
.replaceAll(/[^a-z0-9]/g, '')
|
|
655
|
-
.slice(0,
|
|
656
|
+
.slice(0, 28)}`;
|
|
656
657
|
}
|
|
657
658
|
|
|
658
659
|
// Short enough that the socket's path stays inside a unix socket's limit.
|