lib/model: Trigger pulls instead of pulling periodically
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4340
This commit is contained in:
@@ -50,8 +50,7 @@ func (f *folder) DelayScan(next time.Duration) {
|
||||
f.scan.Delay(next)
|
||||
}
|
||||
|
||||
func (f *folder) IndexUpdated() {
|
||||
}
|
||||
func (f *folder) IndexUpdated() {}
|
||||
|
||||
func (f *folder) IgnoresUpdated() {
|
||||
if f.FSWatcherEnabled {
|
||||
@@ -59,6 +58,8 @@ func (f *folder) IgnoresUpdated() {
|
||||
}
|
||||
}
|
||||
|
||||
func (f *folder) SchedulePull() {}
|
||||
|
||||
func (f *folder) Jobs() ([]string, []string) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user