mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Set rescan interval on default repository (fixes #579)
This commit is contained in:
parent
91ba93bd7a
commit
f44f5964bb
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user