From c14b62ee640641f6f0fad0c0eaa05b8686775786 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 4 Mar 2016 14:07:18 +0000 Subject: [PATCH] Reduce the number of messages we show in the DOM to 250 ... as per https://github.com/vector-im/vector-web/issues/1077 --- src/components/structures/TimelinePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index 6d034721a5..1ee14b3a30 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -27,7 +27,7 @@ var dis = require("../../dispatcher"); var PAGINATE_SIZE = 20; var INITIAL_SIZE = 20; -var TIMELINE_CAP = 1000; // the most events to show in a timeline +var TIMELINE_CAP = 250; // the most events to show in a timeline // consider that the user remains "active" for this many milliseconds after a // user_activity event (and thus don't make the read-marker visible on new