Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
78df7b6d
Commit
78df7b6d
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.txt
+2
-2
2 additions, 2 deletions
README.txt
feeds.module
+1
-1
1 addition, 1 deletion
feeds.module
with
3 additions
and
3 deletions
README.txt
+
2
−
2
View file @
78df7b6d
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
feeds.module
+
1
−
1
View file @
78df7b6d
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment