Performance: faster statistics panel on dashboard (#11760)

This commit is contained in:
Antoine Mérino authored and GitHub committed 2026-01-26 12:10:57 -08:00
1 parent cac1b721b9
commit df07b8a03e
5 files changed
+73 -34

No files matched your search

@@ -241,6 +241,10 @@ class TestExportImport(
checksum = hashlib.md5(f.read()).hexdigest()
self.assertEqual(checksum, element["fields"]["checksum"])
# Generated field "content_length" should not be exported,
# it is automatically computed during import.
self.assertNotIn("content_length", element["fields"])
if document_exporter.EXPORTER_ARCHIVE_NAME in element:
fname = (
self.target / element[document_exporter.EXPORTER_ARCHIVE_NAME]