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

Make ProcessingWorker create its queue by default #1093

Merged
merged 2 commits into from
Sep 12, 2023
Merged

Conversation

joschrew
Copy link
Contributor

With this changes the ProcessingWorker always creates its queue on instantiation. This is an idempotent operation. The reason to implement this is to make it possible to create and use a worker started externally via docker-compose/docker.

Copy link
Member

@kba kba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and much cleaner. Good to go AFAICT.

ocrd_utils/ocrd_utils/config.py Outdated Show resolved Hide resolved
ocrd_network/ocrd_network/processing_worker.py Outdated Show resolved Hide resolved
ocrd_network/ocrd_network/processing_worker.py Outdated Show resolved Hide resolved
@kba kba merged commit b8d5d7d into master Sep 12, 2023
2 checks passed
@kba kba deleted the create-default-queue branch September 12, 2023 14:02
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.

3 participants