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

Reduce worker time to 15 to mitigate high load on servers.

parent b1de2b49
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ Requirements ...@@ -42,7 +42,7 @@ Requirements
Installation Installation
============ ============
- Install Feeds, Feeds Admin UI and Feeds defaults. - Install Feeds, Feeds Admin UI and Feeds defaults.
- Navigate to admin/build/feeds. - Navigate to admin/build/feeds.
- Enable one or more default configuration or create your own: from scratch or - Enable one or more default configuration or create your own: from scratch or
by cloning. by cloning.
...@@ -85,7 +85,7 @@ Default: 'FeedsScheduler' ...@@ -85,7 +85,7 @@ Default: 'FeedsScheduler'
Description: The class to use for scheduling feed refreshing. Description: The class to use for scheduling feed refreshing.
Name: feeds_worker_time Name: feeds_worker_time
Default: 60 Default: 15
Description: Execution time for a queue worker, only effective if used with Description: Execution time for a queue worker, only effective if used with
drupal_queue. drupal_queue.
......
...@@ -42,7 +42,7 @@ function feeds_cron_queue_info() { ...@@ -42,7 +42,7 @@ function feeds_cron_queue_info() {
$queues = array(); $queues = array();
$queues[FEEDS_SCHEDULER_QUEUE] = array( $queues[FEEDS_SCHEDULER_QUEUE] = array(
'worker callback' => 'feeds_scheduler_work', 'worker callback' => 'feeds_scheduler_work',
'time' => variable_get('feeds_worker_time', 60), 'time' => variable_get('feeds_worker_time', 15),
); );
return $queues; return $queues;
} }
......
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