Skip to content

Commit 7a43753

Browse files
committed
update comments
1 parent 2a0e742 commit 7a43753

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ func Open(options Options) (*DB, error) {
138138
),
139139
)
140140
_, err = db.cronScheduler.AddFunc(options.AutoMergeCronExpr, func() {
141-
// maybe we should deal with different errors with different logic, but a background task can't omit its error.
141+
// maybe we should deal with different errors with different logic,
142+
// but a background task can't omit its error.
142143
// after auto merge, we should close and reopen the db.
143144
_ = db.Merge(true)
144145
})

0 commit comments

Comments
 (0)