Reduce timeline limit to 250 events

... maybe this will help improve responsiveness in firefox.
pull/21833/head
Richard van der Hoff 2016-04-22 11:07:58 +01:00
parent d72d9260d4
commit afb301ffb7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Changes in <unreleased>
=======================
* Reduce number of events shown in a room to 250, to improve responsiveness
Changes in [0.5.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.5.1) (2016-04-19)
===================================================================================================
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.4.0...v0.5.1)

View File

@ -31,7 +31,7 @@ var KeyCode = require('../../KeyCode');
var PAGINATE_SIZE = 20;
var INITIAL_SIZE = 20;
var TIMELINE_CAP = 500; // the most events to show in a timeline
var TIMELINE_CAP = 250; // the most events to show in a timeline
var DEBUG = false;