mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
This commit is contained in:
parent
36c044562c
commit
517667c590
@ -426,6 +426,9 @@ func (r *indexHandlerRegistry) startLocked(folder config.FolderConfiguration, fs
|
|||||||
is := newIndexHandler(r.conn, r.downloads, folder, fset, runner, startInfo, r.evLogger)
|
is := newIndexHandler(r.conn, r.downloads, folder, fset, runner, startInfo, r.evLogger)
|
||||||
is.token = r.sup.Add(is)
|
is.token = r.sup.Add(is)
|
||||||
r.indexHandlers[folder.ID] = is
|
r.indexHandlers[folder.ID] = is
|
||||||
|
|
||||||
|
// This new connection might help us get in sync.
|
||||||
|
runner.SchedulePull()
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddIndexInfo starts an index handler for given folder, unless it is paused.
|
// AddIndexInfo starts an index handler for given folder, unless it is paused.
|
||||||
|
Loading…
Reference in New Issue
Block a user