Skip to content

Commit

Permalink
Render more things per batch - browsers are faster nowadays
Browse files Browse the repository at this point in the history
  • Loading branch information
tadast committed Aug 22, 2024
1 parent 17ee690 commit 5982e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/js/hits.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Hits extends Component {
this.nextQuery = 0;
this.nextHit = 0;
this.nextHSP = 0;
this.maxHSPs = 3; // max HSPs to render in a cycle
this.maxHSPs = 10; // max HSPs to render in a cycle
this.state = props.state;
this.state.pluginResults = [];
this.prepareAlignmentOfSelectedHits = this.prepareAlignmentOfSelectedHits.bind(this);
Expand Down Expand Up @@ -93,7 +93,7 @@ class Hits extends Component {
var query = this.state.queries[this.nextQuery];

// We may see a query multiple times during rendering because only
// 3 hsps are rendered in each cycle, but we want to create the
// 10 hsps are rendered in each cycle, but we want to create the
// corresponding Query component only the first time we see it.
if (this.nextHit == 0 && this.nextHSP == 0) {
results.items.push(this.renderReportQuery(query));
Expand Down

0 comments on commit 5982e50

Please sign in to comment.