Skip to content

runbrokerquery management command should not run forever#1423

Merged
jchate6 merged 3 commits intoTOMToolkit:devfrom
griffin-h:bugfix/runbrokerquery
Feb 25, 2026
Merged

runbrokerquery management command should not run forever#1423
jchate6 merged 3 commits intoTOMToolkit:devfrom
griffin-h:bugfix/runbrokerquery

Conversation

@griffin-h
Copy link
Copy Markdown
Contributor

This changes the manage.py runbrokerquery command from a while loop to a for loop, so that it does not continue running forever without re-querying the broker. It should likely be run on a cronjob.

@jchate6 jchate6 self-requested a review February 24, 2026 22:37
@jchate6 jchate6 added the User Issue Raised by a user label Feb 24, 2026
@jchate6 jchate6 added this to the Griffin's PRs and Issues milestone Feb 24, 2026
Copy link
Copy Markdown
Contributor

@jchate6 jchate6 left a comment

Choose a reason for hiding this comment

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

Can you remove the unused sleep import?

@jchate6 jchate6 moved this to Needs Review in TOM Toolkit Feb 24, 2026
@jchate6 jchate6 merged commit e242ee4 into TOMToolkit:dev Feb 25, 2026
11 of 12 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Merged (to dev) in TOM Toolkit Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

User Issue Raised by a user

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants