CSCfi / rems

Resource Entitlement Management System is a tool for managing access rights to resources, such as research datasets.
MIT License
53 stars 22 forks source link

Catalogue administration page is slow to load #1769

Open opqdonut opened 4 years ago

opqdonut commented 4 years ago

To reproduce:

React profiler shows rems.table using lots of time. Perhaps clearing the table is slow for some reason?

luontola commented 4 years ago

The catalogue admin page is quite fast for me. The resource page on the other hand is slow; the API request takes 2-3 seconds because it calls rems.db.licenses/get-resource-licenses once for each resource.