Make the initialSyncLimit configurable

I keep wanting to change this to test things, and can never find the right
place to change it. Make it configurable.
This commit is contained in:
Richard van der Hoff 2016-02-24 16:42:23 +00:00
parent 4b13d71bb4
commit 4ce3598274

View file

@ -596,7 +596,7 @@ module.exports = React.createClass({
Presence.start();
cli.startClient({
pendingEventOrdering: "end",
initialSyncLimit: 20,
initialSyncLimit: this.props.config.sync_timeline_limit || 20,
});
},