diff --git a/src/raft/fms_snapshot.go b/src/raft/fms_snapshot.go index f92d157..4d411fe 100644 --- a/src/raft/fms_snapshot.go +++ b/src/raft/fms_snapshot.go @@ -4,7 +4,6 @@ import ( "encoding/json" "github.com/echovault/echovault/src/utils" "github.com/hashicorp/raft" - "time" ) type SnapshotOpts struct { @@ -40,8 +39,6 @@ func (s *Snapshot) Persist(sink raft.SnapshotSink) error { return err } - <-time.After(5 * time.Second) - return nil }