Match prefixes on entities

This commit is contained in:
Jon Staab
2025-05-23 09:22:15 -07:00
parent 93f4663985
commit a6886d9734
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export const socketPolicyReopenActive = (socket: Socket) => {
// If the socket closed and we have no error, reopen it but don't flap
if (newStatus === SocketStatus.Closed && pending.size) {
sleep(Math.max(0, 30_000 - (Date.now() - lastOpen))).then(() => {
sleep(Math.max(0, 10_000 - (Date.now() - lastOpen))).then(() => {
for (const message of pending.values()) {
socket.send(message)
}