mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
fixes #1380 avoid performance issue with high volume albums
This commit is contained in:
parent
eaa007b458
commit
b6b2da88a4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue