const_windows.go 387 B

123456789101112
  1. // +build windows
  2. package etcdmain
  3. // TODO(barakmich): So because file locking on Windows is untested, the
  4. // temporary fix is to default to unlimited snapshots and WAL files, with manual
  5. // removal. Perhaps not the most elegant solution, but it's at least safe and
  6. // we'd totally love a PR to fix the story around locking.
  7. const (
  8. defaultMaxSnapshots = 0
  9. defaultMaxWALs = 0
  10. )