mirror of https://github.com/vector-im/riot-web
Reduce the number of messages we show in the DOM to 250
... as per https://github.com/vector-im/vector-web/issues/1077pull/21833/head
parent
05a3dab528
commit
c14b62ee64
|
@ -27,7 +27,7 @@ var dis = require("../../dispatcher");
|
||||||
|
|
||||||
var PAGINATE_SIZE = 20;
|
var PAGINATE_SIZE = 20;
|
||||||
var INITIAL_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
|
// 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
|
// user_activity event (and thus don't make the read-marker visible on new
|
||||||
|
|
Loading…
Reference in New Issue