Skip to content
Snippets Groups Projects
Commit 13870c63 authored by syuilo's avatar syuilo
Browse files

add note

parent 8ccf9540
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,7 @@ export class StreamingApiServerService {
});
});
// 一定期間通信が無いコネクションは実際には切断されている可能性があるため定期的にterminateする
this.#cleanConnectionsIntervalId = setInterval(() => {
const now = Date.now();
for (const [connection, lastActive] of this.#connections.entries()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment