mirror of
https://github.com/syncthing/syncthing.git
synced 2026-12-01 06:12:38 -08:00
Signed-off-by: Jakob Borg <[email protected]>
This commit is contained in:
1 parent
b223f729c6
commit
9bb4747df2
1 file changed
+1
-1
@@ -436,7 +436,7 @@ func (a *aggregator) CommitConfiguration(_, to config.Configuration) bool {
|
||||
}
|
||||
|
||||
func (a *aggregator) updateConfig(folderCfg config.FolderConfiguration) {
|
||||
a.notifyDelay = time.Duration(folderCfg.FSWatcherDelayS) * time.Second
|
||||
a.notifyDelay = time.Duration(folderCfg.FSWatcherDelayS * float64(time.Second))
|
||||
if maxDelay := folderCfg.FSWatcherTimeoutS; maxDelay > 0 {
|
||||
// FSWatcherTimeoutS is set explicitly so use that, but it also
|
||||
// can't be lower than FSWatcherDelayS
|
||||
|
||||
Reference in new issue
Block a user