Skip to content

Commit 1a5828a

Browse files
authored
TASK: Use preset to define queues
This allows easy overriding of the queue settings in a project through the use of presets as offered by the JobQueue.Common package.
1 parent 40c0ba5 commit 1a5828a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Configuration/Settings.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ Flowpack:
55

66
JobQueue:
77
Common:
8-
queues:
8+
presets:
99
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
1010
className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
1111
executeIsolated: true
1212
options:
1313
host: '127.0.0.1'
1414
port: 11300
1515

16+
queues:
17+
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
18+
preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'
19+
1620
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer.Live':
17-
className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
18-
executeIsolated: true
19-
options:
20-
host: '127.0.0.1'
21-
port: 11300
21+
preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

0 commit comments

Comments
 (0)