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

Reduce dependency on create_collection_status_record tasks #3014

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Conversation

ABrain7710
Copy link
Contributor

Description

  • Reduce dependency on create_collection_status_record task

Signed commits

  • Yes, I signed my commits.

@ABrain7710 ABrain7710 requested a review from Ulincsys February 26, 2025 01:20
@@ -86,6 +86,9 @@ def start(ctx, disable_collection, development, pidfile, port):

worker_vmem_cap = get_value("Celery", 'worker_process_vmem_cap')

# create rabbit messages so if it failed on shutdown the queues are clean
clear_rabbitmq_messages()

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
E1120: No value for argument 'connection_string' in function call (no-value-for-parameter)



def cleanup_after_collection_halt(logger, engine):
def cleanup_collection_status_and_rabbit(logger, engine):

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
W0621: Redefining name 'logger' from outer scope (line 34) (redefined-outer-name)

@sgoggins sgoggins merged commit da84da9 into main Feb 26, 2025
10 checks passed
@Ulincsys Ulincsys deleted the hotfix-main branch February 26, 2025 01:52
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