From b6d0d4eb99d7b93d3bfa47c37d74de26ac87567c Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 21 Mar 2021 14:33:18 +0900
Subject: [PATCH] add note

---
 src/server/api/stream/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/server/api/stream/index.ts b/src/server/api/stream/index.ts
index 4a87f61e7f..a94923484d 100644
--- a/src/server/api/stream/index.ts
+++ b/src/server/api/stream/index.ts
@@ -52,6 +52,7 @@ export default class Connection {
 			this.onBroadcastMessage(type, body);
 		});
 
+		// TODO: reidsでイベントをもらうようにし、ポーリングはしないようにする
 		if (this.user) {
 			this.updateFollowing();
 			this.followingClock = setInterval(this.updateFollowing, 5000);