add note
This commit is contained in:
parent
8ccf954065
commit
13870c63b0
|
@ -139,6 +139,7 @@ export class StreamingApiServerService {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 一定期間通信が無いコネクションは実際には切断されている可能性があるため定期的にterminateする
|
||||||
this.#cleanConnectionsIntervalId = setInterval(() => {
|
this.#cleanConnectionsIntervalId = setInterval(() => {
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
for (const [connection, lastActive] of this.#connections.entries()) {
|
for (const [connection, lastActive] of this.#connections.entries()) {
|
||||||
|
|
Loading…
Reference in New Issue