mirror of
https://github.com/outline/outline.git
synced 2026-11-25 15:15:15 +03:00
Reduce view writing
This commit is contained in:
1 parent
a234a92f80
commit
06f2d7a993
1 file changed
-1
@@ -54,7 +54,6 @@ export class ViewsExtension implements Extension {
|
||||
// Set up an interval to update the last viewed at timestamp continuously
|
||||
// while the user is connected. This should only be done once per socket.
|
||||
const interval = setInterval(updateView, 30 * Second);
|
||||
updateView();
|
||||
|
||||
this.intervalsBySocket.set(socketId, interval);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user