From 4b105913d5e0b8b57a3b3c07668008a55ba3665c Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 11 Dec 2024 11:44:45 +0000 Subject: [PATCH] bump max loops --- src/textual/fuzzy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/fuzzy.py b/src/textual/fuzzy.py index acddf0ae09..5e683bd78a 100644 --- a/src/textual/fuzzy.py +++ b/src/textual/fuzzy.py @@ -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()