mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1380 avoid performance issue with high volume albums
This commit is contained in:
@@ -207,7 +207,7 @@ $category['nb_images_associated_outside'] = 0;
|
||||
if ($category['nb_images_recursive'] > 0)
|
||||
{
|
||||
// if we don't have "too many" photos, it's faster to compute the orphans with MySQL
|
||||
if ($category['nb_images_recursive'] < 30000)
|
||||
if ($category['nb_images_recursive'] < 1000)
|
||||
{
|
||||
$query = '
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user