Skip to content
Snippets Groups Projects
Commit b4da68f5 authored by Alex Barth's avatar Alex Barth
Browse files

Update only 5 on cron.

parent e39374e4
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ Description: Execution time for a queue worker, only effective if used with
drupal_queue.
Name: feeds_schedule_num
Default: 10
Default: 5
200 if drupal_queue is enabled
Description: The number of feeds to refresh on cron time.
If drupal_queue is enabled, the maximum number of feeds to move to
......
......@@ -112,7 +112,7 @@ class FeedsScheduler implements IFeedsScheduler {
// parameters accordingly.
if ($importers = feeds_importer_load_all()) {
$use_queue = module_exists('drupal_queue');
$num = variable_get('feeds_schedule_num', $use_queue ? 200 : 10);
$num = variable_get('feeds_schedule_num', $use_queue ? 200 : 5);
$num = $num ? $num : 1;
// Iterate over feed configurations, pick $num feeds for each
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment