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

Added a tolerance to run on a dedicated node for stacking. #316

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cmccully
Copy link
Collaborator

No description provided.

@cmccully cmccully requested a review from mgdaily June 15, 2021 20:30
@@ -116,7 +116,8 @@ def schedule_calibration_stacking(site: str, runtime_context: dict, min_date=Non
'instrument': instrument.camera, 'frame_type': frame_type})
stack_calibrations.apply_async(args=(stacking_min_date, stacking_max_date, instrument.id, frame_type,
vars(runtime_context), blocks_for_calibration),
countdown=message_delay_in_seconds)
countdown=message_delay_in_seconds,
queue=runtime_context.CELERY_STACK_QUEUE_NAME)
Copy link
Contributor

Choose a reason for hiding this comment

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

This queue also needs to be added to the app.conf

https://docs.celeryproject.org/en/stable/userguide/routing.html#manual-routing

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.

2 participants