[MOD] Modify retention periods

This commit is contained in:
LDA 2024-09-10 10:52:40 +02:00
commit 488ab92a90

View file

@ -177,9 +177,10 @@ ParseeCleanup(void *datp)
} \ } \
while (0) while (0)
CleanupField(stanza, 30 MINUTES, 50); /* TODO: Custom retention period for any 1.0 */
CleanupField(event, 30 MINUTES, 50); CleanupField(stanza, 30 MINUTES, 500);
CleanupField(id, 30 MINUTES, 50); CleanupField(event, 30 MINUTES, 500);
CleanupField(id, 30 MINUTES, 500);
#undef CleanupField #undef CleanupField
} }
DbListFree(chats); DbListFree(chats);
@ -231,9 +232,9 @@ ParseeCleanup(void *datp)
} \ } \
while (0) while (0)
CleanupField(stanza, 3 HOURS, 50); CleanupField(stanza, 3 HOURS, 500);
CleanupField(event, 3 HOURS, 50); CleanupField(event, 3 HOURS, 500);
CleanupField(id, 3 HOURS, 50); CleanupField(id, 3 HOURS, 500);
DbUnlock(data->db, ref); DbUnlock(data->db, ref);
} }