From 3211a93caa174cc71987ef48e1c4f6905e028dde Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:15:34 +0800 Subject: [PATCH] chore: update expire time for database row (#1158) --- services/appflowy-collaborate/src/collab/cache/mem_cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/appflowy-collaborate/src/collab/cache/mem_cache.rs b/services/appflowy-collaborate/src/collab/cache/mem_cache.rs index b74612abc..9be35b89f 100644 --- a/services/appflowy-collaborate/src/collab/cache/mem_cache.rs +++ b/services/appflowy-collaborate/src/collab/cache/mem_cache.rs @@ -312,7 +312,7 @@ pub fn cache_exp_secs_from_collab_type(collab_type: &CollabType) -> u64 { CollabType::Database => SEVEN_DAYS * 2, CollabType::WorkspaceDatabase => ONE_MONTH, CollabType::Folder => SEVEN_DAYS, - CollabType::DatabaseRow => ONE_MONTH, + CollabType::DatabaseRow => SEVEN_DAYS, CollabType::UserAwareness => SEVEN_DAYS * 2, CollabType::Unknown => SEVEN_DAYS, }