You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects page opens fast and not make unnecessary web and db requests.
Current Behaviour
It was faster in the beginning but with growing number of projects and tasks it get slower and slower.
Right now to open Projects it takes 30+ seconds.
In browsers dev tools it shows what /projects request takes 30 seconds to complete and then followed by huge amount of /data?type=preview requests.
Also with enabled query logging on db. It logs like 30000+ sql select queries just when Projects page requested.
To get this logs I add this to compose config
@summeroff, it was happening due to attempting to serialize and return all nested tasks in the projects' request. So it resulted in numerous queries to the database. The related patch should fix it by retrieving only necessary previews and no nested tasks in the projects' request. Could you give an approximate amount of tasks and labels in your projects for reference, please?
My actions before raising this issue
Expected Behaviour
Projects page opens fast and not make unnecessary web and db requests.
Current Behaviour
It was faster in the beginning but with growing number of projects and tasks it get slower and slower.
Right now to open Projects it takes 30+ seconds.
In browsers dev tools it shows what /projects request takes 30 seconds to complete and then followed by huge amount of /data?type=preview requests.
Also with enabled query logging on db. It logs like 30000+ sql select queries just when Projects page requested.
To get this logs I add this to compose config
refreshed page in browser and saved logs by
docker logs 5278709de3c0 &> sql.log.txt
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
git log -1
): 1790800docker version
(e.g. Docker 17.0.05): Docker version 20.10.5, build 55c4c88Logs from `cvat` container
The text was updated successfully, but these errors were encountered: