As described on https://piwigo.org/forum/viewtopic.php?id=31187 we have a performance issue when Piwigo tries to find related albums of a "too big" set of photos. Indeed if a tag is associated to 10k photos and you open the page of the this tag, then Piwigo has to find related albums for these 10k photos. The resulting SQL queries are huge and slow.
They are also useless since you will probably find that "all" albums are related albums. Making the "related albums" menu the exact same as the "albums" menu.
For me, the solution comes in 2 steps:
do not try to find related albums if the current set is "too big"
only display heaviest related albums (just like we do for tags)
As described on https://piwigo.org/forum/viewtopic.php?id=31187 we have a performance issue when Piwigo tries to find related albums of a "too big" set of photos. Indeed if a tag is associated to 10k photos and you open the page of the this tag, then Piwigo has to find related albums for these 10k photos. The resulting SQL queries are huge and slow.
They are also useless since you will probably find that "all" albums are related albums. Making the "related albums" menu the exact same as the "albums" menu.
For me, the solution comes in 2 steps:
1. do not try to find related albums if the current set is "too big"
2. only display heaviest related albums (just like we do for tags)
<!-- github-sync-id:875568874 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As described on https://piwigo.org/forum/viewtopic.php?id=31187 we have a performance issue when Piwigo tries to find related albums of a "too big" set of photos. Indeed if a tag is associated to 10k photos and you open the page of the this tag, then Piwigo has to find related albums for these 10k photos. The resulting SQL queries are huge and slow.
They are also useless since you will probably find that "all" albums are related albums. Making the "related albums" menu the exact same as the "albums" menu.
For me, the solution comes in 2 steps: