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 flow run reschedule limit on Lazarus #350

Merged
merged 2 commits into from
Mar 8, 2022

Conversation

zangell44
Copy link
Contributor

@zangell44 zangell44 commented Mar 8, 2022

Summary

Reduces the maximum amount of flow runs Lazarus will query for at once.

With sufficient stress placed on the database, Lazarus.reschedule_flow_runs will time out and raise an exception, effectively breaking Lazarus. Reducing the limit in this PR reduces the chance the query will time out.

Importance

Checklist

This PR:

  • [ ] adds new tests (if appropriate)
  • adds a change file in the changes/ directory (if appropriate)

@zangell44 zangell44 requested review from cicdw and zanieb as code owners March 8, 2022 16:41
@zanieb
Copy link
Contributor

zanieb commented Mar 8, 2022

Can we note the motivating reason here in the PR for future us?

@zangell44 zangell44 merged commit 96818c0 into master Mar 8, 2022
@zangell44 zangell44 deleted the reduce-lazarus-flow-run-limit branch March 8, 2022 16:49
@zanieb zanieb mentioned this pull request Mar 29, 2022
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