273eb66fae
storagenode database preflight check. Disable preflight database check by default, and have the option to enable it. This will allow us to enable it once it is definitely working. Also change the name of the config flag for preflight time sync. Change-Id: Ie2e20f9e25dcb38794eafa7e1505e7c6ff287c99
17 lines
535 B
Go
17 lines
535 B
Go
// Copyright (C) 2020 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package preflight
|
|
|
|
import (
|
|
"gopkg.in/spacemonkeygo/monkit.v2"
|
|
)
|
|
|
|
var mon = monkit.Package()
|
|
|
|
// Config for preflight checks
|
|
type Config struct {
|
|
LocalTimeCheck bool `help:"whether or not preflight check for local system clock is enabled on the satellite side. When disabling this feature, your storagenode may not setup correctly." default:"true"`
|
|
DatabaseCheck bool `help:"whether or not preflight check for database is enabled." default:"false"`
|
|
}
|