@riddix/hamh 2.1.0-alpha.519 → 2.1.0-alpha.520
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/dist/backend/cli.js
CHANGED
|
@@ -167128,9 +167128,11 @@ ${e?.toString()}`);
|
|
|
167128
167128
|
for (const s of [...sessionManager.sessions]) {
|
|
167129
167129
|
if (s.id === sessionId && !s.isClosing && s.subscriptions.size === 0) {
|
|
167130
167130
|
this.log.warn(
|
|
167131
|
-
`
|
|
167131
|
+
`Closing stale session ${s.id} (peer ${s.peerNodeId}, no subscriptions for ${DEAD_SESSION_TIMEOUT_MS / 1e3}s)`
|
|
167132
167132
|
);
|
|
167133
|
-
s.
|
|
167133
|
+
s.initiateClose().catch(() => {
|
|
167134
|
+
s.initiateForceClose().catch(() => {
|
|
167135
|
+
});
|
|
167134
167136
|
});
|
|
167135
167137
|
break;
|
|
167136
167138
|
}
|
|
@@ -167145,9 +167147,11 @@ ${e?.toString()}`);
|
|
|
167145
167147
|
for (const s of sessions) {
|
|
167146
167148
|
if (!s.isClosing && s.subscriptions.size === 0) {
|
|
167147
167149
|
this.log.warn(
|
|
167148
|
-
`
|
|
167150
|
+
`Closing dead session ${s.id} (peer ${s.peerNodeId}, no subscriptions for ${DEAD_SESSION_TIMEOUT_MS / 1e3}s)`
|
|
167149
167151
|
);
|
|
167150
|
-
s.
|
|
167152
|
+
s.initiateClose().catch(() => {
|
|
167153
|
+
s.initiateForceClose().catch(() => {
|
|
167154
|
+
});
|
|
167151
167155
|
});
|
|
167152
167156
|
}
|
|
167153
167157
|
}
|
|
@@ -179839,9 +179843,11 @@ ${e?.toString()}`);
|
|
|
179839
179843
|
for (const s of [...sessionManager.sessions]) {
|
|
179840
179844
|
if (s.id === sessionId && !s.isClosing && s.subscriptions.size === 0) {
|
|
179841
179845
|
this.log.warn(
|
|
179842
|
-
`
|
|
179846
|
+
`Closing stale session ${s.id} (peer ${s.peerNodeId}, no subscriptions for ${DEAD_SESSION_TIMEOUT_MS2 / 1e3}s)`
|
|
179843
179847
|
);
|
|
179844
|
-
s.
|
|
179848
|
+
s.initiateClose().catch(() => {
|
|
179849
|
+
s.initiateForceClose().catch(() => {
|
|
179850
|
+
});
|
|
179845
179851
|
});
|
|
179846
179852
|
break;
|
|
179847
179853
|
}
|
|
@@ -179856,9 +179862,11 @@ ${e?.toString()}`);
|
|
|
179856
179862
|
for (const s of sessions) {
|
|
179857
179863
|
if (!s.isClosing && s.subscriptions.size === 0) {
|
|
179858
179864
|
this.log.warn(
|
|
179859
|
-
`
|
|
179865
|
+
`Closing dead session ${s.id} (peer ${s.peerNodeId}, no subscriptions for ${DEAD_SESSION_TIMEOUT_MS2 / 1e3}s)`
|
|
179860
179866
|
);
|
|
179861
|
-
s.
|
|
179867
|
+
s.initiateClose().catch(() => {
|
|
179868
|
+
s.initiateForceClose().catch(() => {
|
|
179869
|
+
});
|
|
179862
179870
|
});
|
|
179863
179871
|
}
|
|
179864
179872
|
}
|