Skip to content

Commit

Permalink
Reduce number of commit shown on history page
Browse files Browse the repository at this point in the history
Even with all the optimisations, the history query is till to slow
for such a large limit.

Change-Id: just-10
  • Loading branch information
christian-schilling authored and LMG committed Aug 25, 2022
1 parent 71478ed commit e907cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion josh-ui/src/History.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class HistoryList extends React.Component<HistoryBrowserProps, State> {
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

Expand Down

0 comments on commit e907cfd

Please sign in to comment.