From 421f98b6a739ab051fd075e2f409ab0359963763 Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Sun, 14 Jan 2024 14:01:14 -0500 Subject: [PATCH] Raise the 'many games' limit to 512; without a debugger attached, the GameStore build code is quite a bit faster. But it is still several times slower than fetching the games. It's all still async regardless; this is just about when to show the spinner. --- lutris/gui/lutriswindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/gui/lutriswindow.py b/lutris/gui/lutriswindow.py index 31eefb846..ac93de9dd 100644 --- a/lutris/gui/lutriswindow.py +++ b/lutris/gui/lutriswindow.py @@ -614,7 +614,7 @@ class LutrisWindow(Gtk.ApplicationWindow, # Since get_games_from_filters() seems to be much faster than making a GameStore, # we defer the spinner to here, when we know how many games we will show. If there # are "many" we show a spinner while the store is built. - if len(games) > 64: + if len(games) > 512: self.show_spinner() AsyncCall(make_game_store, apply_store, games)