fix: truncate long text fields to prevent overflow in logs and sources

This commit is contained in:
Alex
2025-08-11 14:56:31 +01:00
parent 56831fbcf2
commit f94a093e8c
5 changed files with 38 additions and 17 deletions

View File

@@ -64,7 +64,7 @@ attachments_collection = db["attachments"]
try:
agents_collection.create_index(
[("shared_publicly", 1)],
[("shared", 1)],
name="shared_index",
background=True,
)