Skip to content

Commit

Permalink
Remove the 50 opp limit
Browse files Browse the repository at this point in the history
  • Loading branch information
chouinar committed Oct 11, 2024
1 parent 6bd7ba8 commit 463a1be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/src/search/backend/load_opportunities_to_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def fetch_opportunities(self) -> Iterator[Sequence[Opportunity]]:
Opportunity.is_draft.is_(False),
CurrentOpportunitySummary.opportunity_status.isnot(None),
)
.limit(50) # TODO - remove
.options(selectinload("*"), noload(Opportunity.all_opportunity_summaries))
.execution_options(yield_per=5000)
)
Expand Down

0 comments on commit 463a1be

Please sign in to comment.