Set rescan interval on default repository (fixes #579)

This commit is contained in:
Audrius Butkevicius 2014-08-27 23:45:09 +01:00
parent 91ba93bd7a
commit f44f5964bb

View File

@ -318,9 +318,10 @@ func main() {
cfg, err = config.Load(nil, myID) cfg, err = config.Load(nil, myID)
cfg.Repositories = []config.RepositoryConfiguration{ cfg.Repositories = []config.RepositoryConfiguration{
{ {
ID: "default", ID: "default",
Directory: defaultRepo, Directory: defaultRepo,
Nodes: []config.RepositoryNodeConfiguration{{NodeID: myID}}, RescanIntervalS: 60,
Nodes: []config.RepositoryNodeConfiguration{{NodeID: myID}},
}, },
} }
cfg.Nodes = []config.NodeConfiguration{ cfg.Nodes = []config.NodeConfiguration{