Skip to content

Commit

Permalink
chore: remove gc check
Browse files Browse the repository at this point in the history
  • Loading branch information
Horusiath committed Dec 23, 2024
1 parent 35430c6 commit 837f4de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions services/appflowy-collaborate/src/group/group_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,11 +1129,6 @@ impl CollabPersister {
collab: &mut Collab,
message_id: MessageId,
) -> Result<(), RealtimeError> {
if !collab.get_awareness().doc().skip_gc() {
return Err(RealtimeError::UnexpectedData(
"tried to save history for snapshot with GC turned on",
));
}
// try to acquire snapshot lease - it's possible that multiple web services will try to
// perform snapshot at the same time, so we'll use lease to let only one of them atm.
if let Some(mut lease) = self
Expand Down

0 comments on commit 837f4de

Please sign in to comment.