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

Simplify create_jobs_task #478

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

Conversation

eandersson
Copy link
Collaborator

@eandersson eandersson commented Nov 14, 2024

Found when updating CONFIG_FREERTOS_HZ and reducing logging that create_jobs_task would occasionally cause duplicate jobs to get queued at startup. I simplified the code a bit as I couldn't understand why we would need both process_mining_job and generate_additional_work and combined them into one function and moved some of the logic into the while loop. Not been able to reproduce the initial bug after the refactor.

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