You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not that I use this, but as an example, for a feed of one product, with a p2c table of 387232 entries, feed generation goes from 0 to 14 seconds (on a local pc).
I changed $where .= ' AND p2c.categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')';
to $where .= ' AND p.master_categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')';
and it was instant again.
Also perhaps some sanitation/checking should be done on that constant....
The text was updated successfully, but these errors were encountered:
Not that I use this, but as an example, for a feed of one product, with a p2c table of 387232 entries, feed generation goes from 0 to 14 seconds (on a local pc).
I changed $where .= ' AND p2c.categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')'; to $where .= ' AND p.master_categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')'; and it was instant again.
Also perhaps some sanitation/checking should be done on that constant....
You'll know soon enough if the various constants haven't been set correctly; sanitization would be a change over and above the performance-related fix that'll be in this correction.
Not that I use this, but as an example, for a feed of one product, with a p2c table of 387232 entries, feed generation goes from 0 to 14 seconds (on a local pc).
I changed
$where .= ' AND p2c.categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')';
to
$where .= ' AND p.master_categories_id NOT IN (' . GPSF_NEG_CATEGORIES . ')';
and it was instant again.
Also perhaps some sanitation/checking should be done on that constant....
The text was updated successfully, but these errors were encountered: