Skip to content

Commit f9fce86

Browse files
authored
Merge pull request #24 from kdambekalns/settings-use-presets
TASK: Use preset to define queues
2 parents 18f2e32 + 05c7906 commit f9fce86

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Configuration/Settings.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Flowpack:
66
# batchSize: 50
77
JobQueue:
88
Common:
9-
queues:
9+
presets:
1010
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
1111
className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
1212
executeIsolated: true
@@ -15,10 +15,9 @@ Flowpack:
1515
host: '127.0.0.1'
1616
port: 11300
1717

18+
queues:
19+
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer':
20+
preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'
21+
1822
'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer.Live':
19-
className: 'Flowpack\JobQueue\Beanstalkd\Queue\BeanstalkdQueue'
20-
executeIsolated: true
21-
options:
22-
client:
23-
host: '127.0.0.1'
24-
port: 11300
23+
preset: 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer'

0 commit comments

Comments
 (0)