mmucklo/queue-bundle v4.0

This commit is contained in:
Matthew J. Mucklo
2018-01-15 10:48:30 -08:00
parent 48329c8c55
commit 64cab83231
4 changed files with 51 additions and 0 deletions
@@ -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'
+8
View File
@@ -0,0 +1,8 @@
{
"bundles": {
"Dtc\\QueueBundle\\DtcQueueBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}
+18
View File
@@ -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']