Skip to content

Commit e084abf

Browse files
author
Vovko
committed
updated interaction expiry
1 parent 75c7009 commit e084abf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/core/tasks/cleanup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ func CreateCleanupTasks(client core.Client) error {
5858
ReferenceID: "database_cleanup",
5959
Type: models.TaskTypeDatabaseCleanup,
6060
Data: map[string]string{
61-
"expiration_interactions": now.Add(-1 * time.Hour * 24 * 7).Format(time.RFC3339), // 7 days
62-
"expiration_snapshots": now.Add(-1 * time.Hour * 24 * 90).Format(time.RFC3339), // 90 days
63-
"expiration_tasks": now.Add(-1 * time.Hour * 24 * 7).Format(time.RFC3339), // 7 days
61+
"expiration_interactions": now.Add(-1 * time.Hour * 24 * 45).Format(time.RFC3339), // 45 days
62+
"expiration_snapshots": now.Add(-1 * time.Hour * 24 * 90).Format(time.RFC3339), // 90 days
63+
"expiration_tasks": now.Add(-1 * time.Hour * 24 * 7).Format(time.RFC3339), // 7 days
6464
},
6565
}
6666

0 commit comments

Comments
 (0)