don't open bolt tracking store with NoSync, it might get corrupted
This commit is contained in:
parent
b2b7eb2ded
commit
e9f531b4aa
@ -21,7 +21,6 @@ var _ TrackingStore = (*BoltTrackingStore)(nil)
|
||||
func OpenBoltTrackingStore(path string) (*BoltTrackingStore, error) {
|
||||
opts := &bolt.Options{
|
||||
Timeout: 1 * time.Second,
|
||||
NoSync: true,
|
||||
}
|
||||
db, err := bolt.Open(path, 0644, opts)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user