mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[MOD] Modify retention periods
This commit is contained in:
parent
7593225e18
commit
488ab92a90
1 changed files with 7 additions and 6 deletions
|
|
@ -177,9 +177,10 @@ ParseeCleanup(void *datp)
|
|||
} \
|
||||
while (0)
|
||||
|
||||
CleanupField(stanza, 30 MINUTES, 50);
|
||||
CleanupField(event, 30 MINUTES, 50);
|
||||
CleanupField(id, 30 MINUTES, 50);
|
||||
/* TODO: Custom retention period for any 1.0 */
|
||||
CleanupField(stanza, 30 MINUTES, 500);
|
||||
CleanupField(event, 30 MINUTES, 500);
|
||||
CleanupField(id, 30 MINUTES, 500);
|
||||
#undef CleanupField
|
||||
}
|
||||
DbListFree(chats);
|
||||
|
|
@ -231,9 +232,9 @@ ParseeCleanup(void *datp)
|
|||
} \
|
||||
while (0)
|
||||
|
||||
CleanupField(stanza, 3 HOURS, 50);
|
||||
CleanupField(event, 3 HOURS, 50);
|
||||
CleanupField(id, 3 HOURS, 50);
|
||||
CleanupField(stanza, 3 HOURS, 500);
|
||||
CleanupField(event, 3 HOURS, 500);
|
||||
CleanupField(id, 3 HOURS, 500);
|
||||
|
||||
DbUnlock(data->db, ref);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue