Skip to content

Reduce dependency on create_collection_status_record tasks#3014

Merged
sgoggins merged 2 commits intomainfrom
hotfix-main
Feb 26, 2025
Merged

Reduce dependency on create_collection_status_record tasks#3014
sgoggins merged 2 commits intomainfrom
hotfix-main

Conversation

@ABrain7710
Copy link
Copy Markdown
Collaborator

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
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()
Copy link
Copy Markdown

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):
Copy link
Copy Markdown

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
9 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

3 participants