From e907cfd95c05d9fc8519c43bbe5c348133e50aa1 Mon Sep 17 00:00:00 2001 From: Christian Schilling Date: Tue, 23 Aug 2022 21:31:10 +0200 Subject: [PATCH] Reduce number of commit shown on history page Even with all the optimisations, the history query is till to slow for such a large limit. Change-Id: just-10 --- josh-ui/src/History.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/josh-ui/src/History.tsx b/josh-ui/src/History.tsx index 81ab94e28..dc1b6f1c4 100644 --- a/josh-ui/src/History.tsx +++ b/josh-ui/src/History.tsx @@ -39,7 +39,7 @@ export class HistoryList extends React.Component { this.state.client.rawRequest(QUERY_HISTORY, { rev: this.props.rev, filter: this.props.filter, - limit: 100, + limit: 10, }).then((d) => { const data = d.data.rev