Skip to content

Commit 0b59c59

Browse files
author
greensheng
committed
-
1 parent 30b97e5 commit 0b59c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matching/engine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ func (e *Engine) saveSnapshotBackground() {
273273
logger.Warn("fork error")
274274
} else if pid == 0 {
275275
//logger.Infof("[pid=%v] taking snapshot", os.Getpid())
276-
snap := e.snapshot()
276+
/*snap := e.snapshot()
277277
if snap.OrderBookSnapshot.LogSeq < e.committedLogSeq {
278278
//logger.Warnf("[pid=%v] snapshot logSeq less than committed logSeq", os.Getpid())
279-
}
279+
}*/
280280

281281
/*err := e.snapshotStore.Store(snap)
282282
if err != nil {

0 commit comments

Comments
 (0)