mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
mmucklo/queue-bundle v4.0
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
dtc_queue:
|
||||
# For full configuration options see:
|
||||
# https://github.com/mmucklo/DtcQueueBundle/blob/master/Resources/doc/full-configuration.md
|
||||
manager:
|
||||
# This should typically be set to one of [odm|orm|beanstalkd|rabbit_mq|redis]
|
||||
job: odm
|
||||
record:
|
||||
# Set this to true to record job timing history in a separate table
|
||||
# (note: for beanstalkd|rabbit_mq|redis, job_timing or run needs to be set to one of
|
||||
# orm|odm under the manager section)
|
||||
timings: false
|
||||
odm:
|
||||
# This only needs to be modified if you want to use a different document manager than the default one
|
||||
# (there is a similar parameter for entity_manager if you're using orm)
|
||||
#
|
||||
# If you don't use odm at all, this can safely be ignored or deleted
|
||||
document_manager: default
|
||||
priority:
|
||||
max: 255
|
||||
direction: desc
|
||||
admin:
|
||||
# chartjs is used to render the job timings graph
|
||||
chartjs: 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js'
|
||||
@@ -0,0 +1,2 @@
|
||||
dtc_queue:
|
||||
resource: '@DtcQueueBundle/Resources/config/routing.yml'
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Dtc\\QueueBundle\\DtcQueueBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
Please update config/packages/dtc_queue.yaml to accurately reflect your needs.
|
||||
(Choose between odm|orm|beanstalkd|rabbit_mq|redis, etc.)
|
||||
|
||||
- For a full list of configuration options, see:
|
||||
* https://github.com/mmucklo/DtcQueueBundle/blob/master/Resources/doc/full-configuration.md
|
||||
|
||||
For admin, make sure the twig is installed and the twig engine is turned on in framework.yaml
|
||||
|
||||
- If not, install twig, then add the following to config/packages/framework.yaml:
|
||||
|
||||
framework:
|
||||
# ...
|
||||
templating:
|
||||
engines: ['twig']
|
||||
Reference in New Issue
Block a user