gogcom / galaxy-integrations-python-api

NOTE: Please report here only issues related to the python API. Issues and general feedback regarding the Galaxy Client 2.0 shall be sent via Galaxy Client menu
MIT License
1.25k stars 226 forks source link

GOG Galaxy takes a long time to load when games are not found in the online DB #169

Open RoorMakurosu opened 3 years ago

RoorMakurosu commented 3 years ago

Problem GOG Galaxy start up is horribly long (around 5 minutes) in my PC.

Log is populated by lots of warning messages like these:

2020-11-08 03:56:36.596 [Warning][ (0)] [TID 4648][galaxy_client]: Discarded game pieces: [ GamePieceId: { key: 'gog_1207658867', type: 'originalImages', userId: '46989304919931' } ], were result of a query of type FrontendQuery! As part of a workaround they will be published anyway. 2020-11-08 03:56:36.932 [Warning][ (0)] [TID 4648][galaxy_client]: Discarded game pieces: [ GamePieceId: { key: 'gog_1207658705', type: 'originalImages', userId: '46989304919931' } ], were result of a query of type FrontendQuery! As part of a workaround they will be published anyway. 2020-11-08 03:56:37.376 [Warning][ (0)] [TID 4648][galaxy_client]: Discarded game pieces: [ GamePieceId: { key: 'gog_1207658993', type: 'originalImages', userId: '46989304919931' } ], were result of a query of type FrontendQuery! As part of a workaround they will be published anyway.

Hundreds of them.

I believe these are related to games not found in the online database. Is there a work around to speed this up?

AndrewDWhite commented 2 years ago

I also see those types of errors myself when it takes a while to load but I don't know that they directly are the issue. Just looking at the wait chain while this is happening makes me think that the GUI is waiting for too much to load before it shows the user anything. image