Skip to content

Commit

Permalink
search-api-v2: Change worker Rake task name
Browse files Browse the repository at this point in the history
  • Loading branch information
csutter committed Oct 6, 2023
1 parent db2be3e commit aacec00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/search-api-v2/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
search-api-v2: bundle-search-api-v2
$(GOVUK_DOCKER) run $@-lite bundle exec rake message_queue:create_queue
$(GOVUK_DOCKER) run $@-lite bundle exec rake document_sync_worker:create_queue
6 changes: 3 additions & 3 deletions projects/search-api-v2/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
depends_on:
- nginx-proxy
- rabbitmq
- search-api-v2-worker-consume-published-documents
- search-api-v2-document-sync-worker
environment:
RABBITMQ_URL: amqp://guest:guest@rabbitmq
PUBLISHING_EVENT_MESSAGE_QUEUE_NAME: search_api_v2_published_documents
Expand All @@ -39,11 +39,11 @@ services:
- "3000"
command: bin/rails server --restart

search-api-v2-worker-consume-published-documents:
search-api-v2-document-sync-worker:
<<: *search-api-v2
depends_on:
- rabbitmq
environment:
RABBITMQ_URL: amqp://guest:guest@rabbitmq
PUBLISHING_EVENT_MESSAGE_QUEUE_NAME: search_api_v2_published_documents
command: bin/rake publishing_event_pipeline:process_messages
command: bin/rake document_sync_worker:run

0 comments on commit aacec00

Please sign in to comment.