Closed ThibaudDauce closed 1 week ago
Testing this PR on dev env with a dataservice linked to 20K datasets does not scale at the moment.
See the sentry error when accessing https://dev.data.gouv.fr/api/1/dataservices/api-tabulaire-data-gouv-fr-beta/ ( :warning: only 1000 associated datasets have been kept to this dataservice now).
I think we could try using db.LazyReferenceField
as in the topic model?
Related to https://github.com/datagouv/data.gouv.fr/issues/1467