mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
13 lines
387 B
Go
13 lines
387 B
Go
// +build windows
|
|
|
|
package etcdmain
|
|
|
|
// TODO(barakmich): So because file locking on Windows is untested, the
|
|
// temporary fix is to default to unlimited snapshots and WAL files, with manual
|
|
// removal. Perhaps not the most elegant solution, but it's at least safe and
|
|
// we'd totally love a PR to fix the story around locking.
|
|
const (
|
|
defaultMaxSnapshots = 0
|
|
defaultMaxWALs = 0
|
|
)
|