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

Check service: Counters saved to database are always 0 #795

Closed
Zlopez opened this issue Jul 15, 2019 · 0 comments · Fixed by #796
Closed

Check service: Counters saved to database are always 0 #795

Zlopez opened this issue Jul 15, 2019 · 0 comments · Fixed by #796
Labels

Comments

@Zlopez
Copy link
Contributor

Zlopez commented Jul 15, 2019

With new version deployed on staging which contains new service for checking, I noticed that the runs table always contains 0 on counters.

This probably means, that insert to db is done before the projects are actually checked. We will probably need some wait for the thread pool to solve this issue.

Zlopez added a commit to Zlopez/anitya that referenced this issue Jul 16, 2019
Statistics were saved to database before the actual check was finished.
This commit is adding wait for every thread executed in the pool.

Fixes fedora-infra#795

Signed-off-by: Michal Konečný <[email protected]>
Zlopez added a commit to Zlopez/anitya that referenced this issue Jul 16, 2019
Statistics were saved to database before the actual check was finished.
This commit is adding wait for every thread executed in the pool.

Fixes fedora-infra#795

Signed-off-by: Michal Konečný <[email protected]>
Zlopez added a commit that referenced this issue Jul 16, 2019
Statistics were saved to database before the actual check was finished.
This commit is adding wait for every thread executed in the pool.

Fixes #795

Signed-off-by: Michal Konečný <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant