mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 02:48:59 +00:00
5f4ed66aa1
We need to reset prevSeq so that we force a full check when someone reconnects - the sequence number may not have changed due to the reconnect. (This is a regression; we did this before f6ea2a7.) Also add an optimization: we schedule a pull after scanning, but there is no need to do so if no changes were detected. This matters now because the scheduled pull actually traverses the database which is expensive. This, however, makes the pull not happen on initial scan if there were no changes during the initial scan. Compensate by always scheduling a pull after initial scan in the rwfolder itself. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4508 LGTM: imsodin, AudriusButkevicius |
||
---|---|---|
.. | ||
h1 | ||
h2 | ||
h3 | ||
h4 | ||
logs | ||
.gitignore | ||
cli_test.go | ||
conflict_test.go | ||
delay_scan_test.go | ||
filetype_test.go | ||
http_test.go | ||
ignore_test.go | ||
manypeers_test.go | ||
override_test.go | ||
parallell_scan_test.go | ||
reconnect_test.go | ||
reset_test.go | ||
scan_test.go | ||
symlink_test.go | ||
sync_test.go | ||
transfer-bench_test.go | ||
usage_unix.go | ||
usage_windows.go | ||
util.go |