mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
fixes #1380 avoid performance issue with high volume albums
This commit is contained in:
1 parent
eaa007b458
commit
b6b2da88a4
1 file changed
+1
-1
@@ -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