This commit is contained in:
syuilo 2021-03-21 14:33:18 +09:00
parent 70b129cc42
commit b6d0d4eb99

View File

@ -52,6 +52,7 @@ export default class Connection {
this.onBroadcastMessage(type, body); this.onBroadcastMessage(type, body);
}); });
// TODO: reidsでイベントをもらうようにし、ポーリングはしないようにする
if (this.user) { if (this.user) {
this.updateFollowing(); this.updateFollowing();
this.followingClock = setInterval(this.updateFollowing, 5000); this.followingClock = setInterval(this.updateFollowing, 5000);