[development] Taxonomy_select_nodes quetion

bob brazeau bobbrazeau at gmail.com
Wed Jan 26 18:57:14 UTC 2011


Ah, fair enough, good way to ensure sites don't gradually slow down as
they grow. Looks like D7 includes a variable to specify a different
limit so thats pretty cool too.

Thanks for pointing the hard coded limit out

Bob

On Wed, Jan 26, 2011 at 11:35 AM, Earl Miles <merlin at logrus.com> wrote:
> On 1/26/2011 10:23 AM, bob brazeau wrote:
>>       $result = db_query_range($sql, $args, 0,
>> variable_get('feed_default_items', 10));
>
> This function will fetch 10 items or the number of items specified in
> the variable only. It will not fetch all items. This is more or less a
> safety mechanism. If you have 1 million items in your database, this
> would crush your site every time it is visited.
>


More information about the development mailing list