-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Damian Mooyman
committed
May 21, 2015
1 parent
ba94a35
commit 609b55e
Showing
2 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,7 +120,7 @@ set the notification email address in your config as below: | |
Email: | ||
queued_job_admin_email: [email protected] | ||
|
||
## Memory limit configuration | ||
## Performance configuration | ||
|
||
By default this task will run until either 128mb or the limit specified by php_ini('memory_limit') is reached. | ||
|
||
|
@@ -134,6 +134,16 @@ You can adjust this with the below config change | |
memory_limit: 256m | ||
|
||
|
||
You can also enforce a time limit for each queue, after which the task will attempt a restart to release all | ||
resources. By default this is disabled, so you must specify this in your project as below: | ||
|
||
|
||
:::yaml | ||
# Force limit to 10 minutes | ||
QueuedJobsService: | ||
time_limit: 600 | ||
|
||
|
||
## Indexes | ||
|
||
ALTER TABLE `QueuedJobDescriptor` ADD INDEX ( `JobStatus` , `JobType` ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters