Commit 6335027d authored by Jordan Sissel's avatar Jordan Sissel

- disable DeadTime for now

parent 5ba97189
......@@ -23,6 +23,7 @@ type NetworkConfig struct {
type FileConfig struct {
Paths []string `json:paths`
Fields map[string]string `json:fields`
//DeadTime time.Duration `json:"dead time"`
}
func LoadConfig(path string) (config Config, err error) {
......@@ -53,5 +54,11 @@ func LoadConfig(path string) (config Config, err error) {
config.Network.Timeout = 5 * time.Second
}
//for _, fileconfig := range config.Files {
//if fileconfig.DeadTime == 0 {
//fileconfig.DeadTime = 24 * time.Hour
//}
//}
return
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment