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.
This commit is contained in:
Daniel Johnson 2024-01-14 14:01:14 -05:00
parent cb55b4ee8e
commit 421f98b6a7

View file

@ -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)