Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow worker to depend on Rails environment #46

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Allow worker to depend on Rails environment #46

merged 1 commit into from
Oct 9, 2023

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Oct 9, 2023

We've decided that we won't extract the document sync worker from the Rails application for the sake of convenience and avoiding having several repos with only slightly different dependencies and configuration.

  • Remove custom logger from DocumentSyncWorker and just use Rails logger instead
  • Allow Rake task to depend on Rails environment to make sure govuk_app_config is properly initialised throughout

We've decided that we won't extract the document sync worker from the
Rails application for the sake of convenience and avoiding having
several repos with only slightly different dependencies and
configuration.

- Remove custom logger from `DocumentSyncWorker` and just use Rails
  logger instead
- Allow Rake task to depend on Rails environment to make sure
  `govuk_app_config` is properly initialised throughout
@csutter csutter merged commit 5d8e0d4 into main Oct 9, 2023
3 checks passed
@csutter csutter deleted the unlib branch October 9, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant