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

Go back to scheduling 10 feeds per iteration. Breaks tests otherwise. Needs to...

Go back to scheduling 10 feeds per iteration. Breaks tests otherwise. Needs to be adjusted in extra step.
parent 6b5e2614
No related branches found
Tags 6.x-1.0-alpha1
No related merge requests found
......@@ -89,7 +89,7 @@ Description: Execution time for a queue worker, only effective if used with
drupal_queue.
Name: feeds_schedule_num
Default: 5
Default: 10
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 : 5);
$num = variable_get('feeds_schedule_num', $use_queue ? 200 : 10);
$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