In the readme.txt is says you can set feeds_process_limit to limit the amount of items that get processed per import. It does not currently respect that vale.

Comments

twistor’s picture

Status: Active » Fixed

From readme.txt:

The number of nodes feed node processor creates or deletes in one page load.

This translates to the number of nodes created in one batch process. I.e. if it's set to 50, and you're importing 200 items, then there will be 4 batch processes run.

twistor’s picture

Title: Feeds node processor doesn't respect feeds_process_limit in settings.php » feeds_process_limit docs in README.txt should not limit itself to nodes.
Component: Code » Documentation
Status: Fixed » Active

Actually, the docs need to be fixed. It's not just a limit on the number of nodes, but any entity that is created by Feeds.

pwaterz’s picture

Setting that value in your settings.php doesn't do anything.

twistor’s picture

I use this often. Are you setting it in the $conf array?

pwaterz’s picture

yes I am

$conf['feeds_process_limit'] = 5;

still try to process the entire thing in one batch operation.

pwaterz’s picture

If you grep all the feeds code for 'global conf' it finds nothing.

grep -r -n 'global $conf' feeds

twistor’s picture

The $conf array sets values for Drupal variables.

pwaterz’s picture

Huh? Did you not read my last comment. I am not a drupal noob.

twistor’s picture

Feeds accesses the $conf array through variable_get(), not directly.

pwaterz’s picture

I apologize I did know you could access it that way. But it still isn't working for me. I will investigate more and let you know.

pwaterz’s picture

Status: Active » Closed (works as designed)

It looks to be working. I think i needed to clear the cache after I added it to the settings.php. Thanks for your help.