open-contracting / credere-backend

A tool that facilitates the participation of Micro, Small, and Medium businesses (MSMEs) in the Colombian public procurement market.
https://credere.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Incorrect statistics #309

Closed jpmckinney closed 1 month ago

jpmckinney commented 1 month ago

Sebastian reported not seeing an application to an FI in the dashboard.

update_statistics is added as a background task after some requests (in addition to being run once a day).

Either the background task call is missing from some relevant endpoints, or the results are incorrect.

@yolile updated with: "I've checked and the task is being called but the results are incorrect for the FIs statistics, I need to double-check what is happening with the queries"

yolile commented 1 month ago

I see that the statistics are correct now, so maybe it was a temporary issue due to, as you said, missing calls to update_statistics