Skip to content

Commit

Permalink
bump max loops
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Dec 11, 2024
1 parent dbadf6b commit 4b10591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/fuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def score(search: _Search) -> float:
find = candidate.find
# Limit the number of loops out of an abundance of caution.
# This would be hard to reach without contrived data.
remaining_loops = 50
remaining_loops = 500

while stack and (remaining_loops := remaining_loops - 1):
search = pop()
Expand Down

0 comments on commit 4b10591

Please sign in to comment.