diff options
author | Jakob Borg <jakob@kastelo.net> | 2023-09-06 12:52:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 12:52:01 +0200 |
commit | c6334e61aa56575db6b274d45d55f7ada4dcd0fe (patch) | |
tree | 1267b2b1e67c09d80843b45b88049892dbedef7f /test | |
parent | 38bbdebffa74df9e5937749a3780d39b24adc331 (diff) | |
download | syncthing-c6334e61aa56575db6b274d45d55f7ada4dcd0fe.tar.gz syncthing-c6334e61aa56575db6b274d45d55f7ada4dcd0fe.zip |
all: Support multiple device connections (fixes #141) (#8918)
This adds the ability to have multiple concurrent connections to a single device. This is primarily useful when the network has multiple physical links for aggregated bandwidth. A single connection will never see a higher rate than a single link can give, but multiple connections are load-balanced over multiple links.
It is also incidentally useful for older multi-core CPUs, where bandwidth could be limited by the TLS performance of a single CPU core -- using multiple connections achieves concurrency in the required crypto calculations...
Co-authored-by: Simon Frei <freisim93@gmail.com>
Co-authored-by: tomasz1986 <twilczynski@naver.com>
Co-authored-by: bt90 <btom1990@googlemail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/h1/config.xml | 157 | ||||
-rw-r--r-- | test/h2/config.xml | 183 |
2 files changed, 192 insertions, 148 deletions
diff --git a/test/h1/config.xml b/test/h1/config.xml index a658d1bdb..80c02b902 100644 --- a/test/h1/config.xml +++ b/test/h1/config.xml @@ -1,13 +1,17 @@ -<configuration version="32"> - <folder id="default" label="" path="s1/" type="sendreceive" rescanIntervalS="10" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> - <filesystemType>basic</filesystemType> - <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""></device> - <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""></device> - <device id="373HSRP-QLPNLIE-JYKZVQF-P4PKZ63-R2ZE6K3-YD442U2-JHBGBQG-WWXAHAU" introducedBy=""></device> - <device id="7PBCTLL-JJRYBSA-MOWZRKL-MSDMN4N-4US4OMX-SYEXUS4-HSBGNRY-CZXRXAT" introducedBy=""></device> +<configuration version="37"> + <folder id="default" label="" path="s1?files=10000" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> + <filesystemType>fake</filesystemType> + <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> + <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> <minDiskFree unit="%">1</minDiskFree> <versioning> <cleanupIntervalS>3600</cleanupIntervalS> + <fsPath></fsPath> + <fsType>basic</fsType> </versioning> <copiers>1</copiers> <pullerMaxPendingKiB>0</pullerMaxPendingKiB> @@ -24,51 +28,21 @@ <markerName>.stfolder</markerName> <copyOwnershipFromParent>false</copyOwnershipFromParent> <modTimeWindowS>0</modTimeWindowS> - <maxConcurrentWrites>0</maxConcurrentWrites> + <maxConcurrentWrites>2</maxConcurrentWrites> <disableFsync>false</disableFsync> <blockPullOrder>standard</blockPullOrder> <copyRangeMethod>standard</copyRangeMethod> <caseSensitiveFS>false</caseSensitiveFS> <junctionsAsDirs>true</junctionsAsDirs> + <syncOwnership>false</syncOwnership> + <sendOwnership>false</sendOwnership> + <syncXattrs>false</syncXattrs> + <sendXattrs>false</sendXattrs> + <xattrFilter> + <maxSingleEntrySize>0</maxSingleEntrySize> + <maxTotalSize>0</maxTotalSize> + </xattrFilter> </folder> - <folder id="¯\_(ツ)_/¯ Räksmörgås 动作 Адрес" label="" path="s12-1/" type="sendreceive" rescanIntervalS="10" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> - <filesystemType>basic</filesystemType> - <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""></device> - <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""></device> - <minDiskFree unit="%">1</minDiskFree> - <versioning> - <cleanupIntervalS>3600</cleanupIntervalS> - </versioning> - <copiers>1</copiers> - <pullerMaxPendingKiB>0</pullerMaxPendingKiB> - <hashers>0</hashers> - <order>random</order> - <ignoreDelete>false</ignoreDelete> - <scanProgressIntervalS>0</scanProgressIntervalS> - <pullerPauseS>0</pullerPauseS> - <maxConflicts>-1</maxConflicts> - <disableSparseFiles>false</disableSparseFiles> - <disableTempIndexes>false</disableTempIndexes> - <paused>false</paused> - <weakHashThresholdPct>25</weakHashThresholdPct> - <markerName>.stfolder</markerName> - <copyOwnershipFromParent>false</copyOwnershipFromParent> - <modTimeWindowS>0</modTimeWindowS> - <maxConcurrentWrites>0</maxConcurrentWrites> - <disableFsync>false</disableFsync> - <blockPullOrder>standard</blockPullOrder> - <copyRangeMethod>standard</copyRangeMethod> - <caseSensitiveFS>false</caseSensitiveFS> - <junctionsAsDirs>true</junctionsAsDirs> - </folder> - <device id="EJHMPAQ-OGCVORE-ISB4IS3-SYYVJXF-TKJGLTU-66DIQPF-GJ5D2GX-GQ3OWQK" name="s4" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> - <address>tcp://127.0.0.1:22004</address> - <paused>false</paused> - <autoAcceptFolders>false</autoAcceptFolders> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> - <maxRequestKiB>0</maxRequestKiB> - </device> <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" name="s1" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> <address>tcp://127.0.0.1:22001</address> <paused>false</paused> @@ -76,30 +50,21 @@ <maxSendKbps>0</maxSendKbps> <maxRecvKbps>0</maxRecvKbps> <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> </device> <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" name="s2" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> <address>tcp://127.0.0.1:22002</address> + <address>quic://127.0.0.1:22002</address> <paused>false</paused> <autoAcceptFolders>false</autoAcceptFolders> <maxSendKbps>0</maxSendKbps> <maxRecvKbps>0</maxRecvKbps> <maxRequestKiB>0</maxRequestKiB> - </device> - <device id="373HSRP-QLPNLIE-JYKZVQF-P4PKZ63-R2ZE6K3-YD442U2-JHBGBQG-WWXAHAU" name="s3" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> - <address>tcp://127.0.0.1:22003</address> - <paused>false</paused> - <autoAcceptFolders>false</autoAcceptFolders> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> - <maxRequestKiB>0</maxRequestKiB> - </device> - <device id="7PBCTLL-JJRYBSA-MOWZRKL-MSDMN4N-4US4OMX-SYEXUS4-HSBGNRY-CZXRXAT" name="s4" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> - <address>tcp://127.0.0.1:22004</address> - <paused>false</paused> - <autoAcceptFolders>false</autoAcceptFolders> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> - <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> </device> <gui enabled="true" tls="false" debugging="true"> <address>127.0.0.1:8081</address> @@ -111,6 +76,7 @@ <ldap></ldap> <options> <listenAddress>tcp://127.0.0.1:22001</listenAddress> + <listenAddress>quic://127.0.0.1:22001</listenAddress> <globalAnnounceServer>default</globalAnnounceServer> <globalAnnounceEnabled>false</globalAnnounceEnabled> <localAnnounceEnabled>true</localAnnounceEnabled> @@ -132,7 +98,6 @@ <urURL>https://data.syncthing.net/newdata</urURL> <urPostInsecurely>false</urPostInsecurely> <urInitialDelayS>1800</urInitialDelayS> - <restartOnWakeup>true</restartOnWakeup> <autoUpgradeIntervalH>12</autoUpgradeIntervalH> <upgradeToPreReleases>false</upgradeToPreReleases> <keepTemporariesH>24</keepTemporariesH> @@ -144,7 +109,6 @@ <overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect> <tempIndexMinBlocks>10</tempIndexMinBlocks> <trafficClass>0</trafficClass> - <defaultFolderPath>~</defaultFolderPath> <setLowPriority>true</setLowPriority> <maxFolderConcurrency>0</maxFolderConcurrency> <crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL> @@ -155,5 +119,70 @@ <databaseTuning>auto</databaseTuning> <maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB> <announceLANAddresses>true</announceLANAddresses> + <sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade> + <connectionLimitEnough>0</connectionLimitEnough> + <connectionLimitMax>0</connectionLimitMax> + <insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions> + <connectionPriorityTcpLan>10</connectionPriorityTcpLan> + <connectionPriorityQuicLan>20</connectionPriorityQuicLan> + <connectionPriorityTcpWan>30</connectionPriorityTcpWan> + <connectionPriorityQuicWan>40</connectionPriorityQuicWan> + <connectionPriorityRelay>50</connectionPriorityRelay> + <connectionPriorityUpgradeThreshold>0</connectionPriorityUpgradeThreshold> </options> + <defaults> + <folder id="" label="" path="~" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> + <filesystemType>basic</filesystemType> + <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> + <minDiskFree unit="%">1</minDiskFree> + <versioning> + <cleanupIntervalS>3600</cleanupIntervalS> + <fsPath></fsPath> + <fsType>basic</fsType> + </versioning> + <copiers>0</copiers> + <pullerMaxPendingKiB>0</pullerMaxPendingKiB> + <hashers>0</hashers> + <order>random</order> + <ignoreDelete>false</ignoreDelete> + <scanProgressIntervalS>0</scanProgressIntervalS> + <pullerPauseS>0</pullerPauseS> + <maxConflicts>10</maxConflicts> + <disableSparseFiles>false</disableSparseFiles> + <disableTempIndexes>false</disableTempIndexes> + <paused>false</paused> + <weakHashThresholdPct>25</weakHashThresholdPct> + <markerName>.stfolder</markerName> + <copyOwnershipFromParent>false</copyOwnershipFromParent> + <modTimeWindowS>0</modTimeWindowS> + <maxConcurrentWrites>2</maxConcurrentWrites> + <disableFsync>false</disableFsync> + <blockPullOrder>standard</blockPullOrder> + <copyRangeMethod>standard</copyRangeMethod> + <caseSensitiveFS>false</caseSensitiveFS> + <junctionsAsDirs>false</junctionsAsDirs> + <syncOwnership>false</syncOwnership> + <sendOwnership>false</sendOwnership> + <syncXattrs>false</syncXattrs> + <sendXattrs>false</sendXattrs> + <xattrFilter> + <maxSingleEntrySize>1024</maxSingleEntrySize> + <maxTotalSize>4096</maxTotalSize> + </xattrFilter> + </folder> + <device id="" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> + <address>dynamic</address> + <paused>false</paused> + <autoAcceptFolders>false</autoAcceptFolders> + <maxSendKbps>0</maxSendKbps> + <maxRecvKbps>0</maxRecvKbps> + <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> + </device> + <ignores></ignores> + </defaults> </configuration> diff --git a/test/h2/config.xml b/test/h2/config.xml index 6b5552070..f98bd751a 100644 --- a/test/h2/config.xml +++ b/test/h2/config.xml @@ -1,14 +1,19 @@ -<configuration version="32"> - <folder id="default" label="" path="s2" type="sendreceive" rescanIntervalS="15" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> - <filesystemType>basic</filesystemType> - <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""></device> - <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""></device> - <device id="373HSRP-QLPNLIE-JYKZVQF-P4PKZ63-R2ZE6K3-YD442U2-JHBGBQG-WWXAHAU" introducedBy=""></device> +<configuration version="37"> + <folder id="default" label="" path="s2" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> + <filesystemType>fake</filesystemType> + <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> + <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> <minDiskFree unit="%">1</minDiskFree> <versioning> <cleanupIntervalS>3600</cleanupIntervalS> + <fsPath></fsPath> + <fsType>basic</fsType> </versioning> - <copiers>1</copiers> + <copiers>8</copiers> <pullerMaxPendingKiB>0</pullerMaxPendingKiB> <hashers>0</hashers> <order>random</order> @@ -23,80 +28,32 @@ <markerName>.stfolder</markerName> <copyOwnershipFromParent>false</copyOwnershipFromParent> <modTimeWindowS>0</modTimeWindowS> - <maxConcurrentWrites>0</maxConcurrentWrites> - <disableFsync>false</disableFsync> - <blockPullOrder>standard</blockPullOrder> - <copyRangeMethod>standard</copyRangeMethod> - <caseSensitiveFS>false</caseSensitiveFS> - <junctionsAsDirs>true</junctionsAsDirs> - </folder> - <folder id="s23" label="" path="s23-2" type="sendreceive" rescanIntervalS="15" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> - <filesystemType>basic</filesystemType> - <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""></device> - <device id="373HSRP-QLPNLIE-JYKZVQF-P4PKZ63-R2ZE6K3-YD442U2-JHBGBQG-WWXAHAU" introducedBy=""></device> - <minDiskFree unit="%">1</minDiskFree> - <versioning> - <cleanupIntervalS>3600</cleanupIntervalS> - </versioning> - <copiers>1</copiers> - <pullerMaxPendingKiB>0</pullerMaxPendingKiB> - <hashers>0</hashers> - <order>random</order> - <ignoreDelete>false</ignoreDelete> - <scanProgressIntervalS>0</scanProgressIntervalS> - <pullerPauseS>0</pullerPauseS> - <maxConflicts>-1</maxConflicts> - <disableSparseFiles>false</disableSparseFiles> - <disableTempIndexes>false</disableTempIndexes> - <paused>false</paused> - <weakHashThresholdPct>25</weakHashThresholdPct> - <markerName>.stfolder</markerName> - <copyOwnershipFromParent>false</copyOwnershipFromParent> - <modTimeWindowS>0</modTimeWindowS> - <maxConcurrentWrites>0</maxConcurrentWrites> - <disableFsync>false</disableFsync> - <blockPullOrder>standard</blockPullOrder> - <copyRangeMethod>standard</copyRangeMethod> - <caseSensitiveFS>false</caseSensitiveFS> - <junctionsAsDirs>true</junctionsAsDirs> - </folder> - <folder id="¯\_(ツ)_/¯ Räksmörgås 动作 Адрес" label="" path="s12-2" type="sendreceive" rescanIntervalS="15" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> - <filesystemType>basic</filesystemType> - <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy=""></device> - <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""></device> - <minDiskFree unit="%">1</minDiskFree> - <versioning> - <cleanupIntervalS>3600</cleanupIntervalS> - </versioning> - <copiers>1</copiers> - <pullerMaxPendingKiB>0</pullerMaxPendingKiB> - <hashers>0</hashers> - <order>random</order> - <ignoreDelete>false</ignoreDelete> - <scanProgressIntervalS>0</scanProgressIntervalS> - <pullerPauseS>0</pullerPauseS> - <maxConflicts>-1</maxConflicts> - <disableSparseFiles>false</disableSparseFiles> - <disableTempIndexes>false</disableTempIndexes> - <paused>false</paused> - <weakHashThresholdPct>25</weakHashThresholdPct> - <markerName>.stfolder</markerName> - <copyOwnershipFromParent>false</copyOwnershipFromParent> - <modTimeWindowS>0</modTimeWindowS> - <maxConcurrentWrites>0</maxConcurrentWrites> + <maxConcurrentWrites>8</maxConcurrentWrites> <disableFsync>false</disableFsync> <blockPullOrder>standard</blockPullOrder> <copyRangeMethod>standard</copyRangeMethod> <caseSensitiveFS>false</caseSensitiveFS> <junctionsAsDirs>true</junctionsAsDirs> + <syncOwnership>false</syncOwnership> + <sendOwnership>false</sendOwnership> + <syncXattrs>false</syncXattrs> + <sendXattrs>false</sendXattrs> + <xattrFilter> + <maxSingleEntrySize>0</maxSingleEntrySize> + <maxTotalSize>0</maxTotalSize> + </xattrFilter> </folder> <device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" name="s1" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> <address>tcp://127.0.0.1:22001</address> + <address>quic://127.0.0.1:22001</address> <paused>false</paused> <autoAcceptFolders>false</autoAcceptFolders> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> + <maxSendKbps>800</maxSendKbps> + <maxRecvKbps>800</maxRecvKbps> <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> </device> <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" name="s2" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> <address>tcp://127.0.0.1:22002</address> @@ -105,14 +62,9 @@ <maxSendKbps>0</maxSendKbps> <maxRecvKbps>0</maxRecvKbps> <maxRequestKiB>0</maxRequestKiB> - </device> - <device id="373HSRP-QLPNLIE-JYKZVQF-P4PKZ63-R2ZE6K3-YD442U2-JHBGBQG-WWXAHAU" name="s3" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> - <address>tcp://127.0.0.1:22003</address> - <paused>false</paused> - <autoAcceptFolders>false</autoAcceptFolders> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> - <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> </device> <gui enabled="true" tls="false" debugging="true"> <address>127.0.0.1:8082</address> @@ -121,15 +73,15 @@ </gui> <ldap></ldap> <options> - <listenAddress>dynamic+https://relays.syncthing.net/endpoint</listenAddress> <listenAddress>tcp://127.0.0.1:22002</listenAddress> + <listenAddress>quic://127.0.0.1:22002</listenAddress> <globalAnnounceServer>default</globalAnnounceServer> <globalAnnounceEnabled>false</globalAnnounceEnabled> <localAnnounceEnabled>true</localAnnounceEnabled> <localAnnouncePort>21027</localAnnouncePort> <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr> - <maxSendKbps>0</maxSendKbps> - <maxRecvKbps>0</maxRecvKbps> + <maxSendKbps>1000</maxSendKbps> + <maxRecvKbps>1000</maxRecvKbps> <reconnectionIntervalS>5</reconnectionIntervalS> <relaysEnabled>true</relaysEnabled> <relayReconnectIntervalM>10</relayReconnectIntervalM> @@ -144,19 +96,17 @@ <urURL>https://data.syncthing.net/newdata</urURL> <urPostInsecurely>false</urPostInsecurely> <urInitialDelayS>1800</urInitialDelayS> - <restartOnWakeup>true</restartOnWakeup> <autoUpgradeIntervalH>12</autoUpgradeIntervalH> <upgradeToPreReleases>false</upgradeToPreReleases> <keepTemporariesH>24</keepTemporariesH> <cacheIgnoredFiles>false</cacheIgnoredFiles> <progressUpdateIntervalS>5</progressUpdateIntervalS> - <limitBandwidthInLan>false</limitBandwidthInLan> + <limitBandwidthInLan>true</limitBandwidthInLan> <minHomeDiskFree unit="%">1</minHomeDiskFree> <releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL> <overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect> <tempIndexMinBlocks>10</tempIndexMinBlocks> <trafficClass>0</trafficClass> - <defaultFolderPath>~</defaultFolderPath> <setLowPriority>true</setLowPriority> <maxFolderConcurrency>0</maxFolderConcurrency> <crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL> @@ -167,5 +117,70 @@ <databaseTuning>auto</databaseTuning> <maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB> <announceLANAddresses>true</announceLANAddresses> + <sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade> + <connectionLimitEnough>0</connectionLimitEnough> + <connectionLimitMax>0</connectionLimitMax> + <insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions> + <connectionPriorityTcpLan>10</connectionPriorityTcpLan> + <connectionPriorityQuicLan>20</connectionPriorityQuicLan> + <connectionPriorityTcpWan>30</connectionPriorityTcpWan> + <connectionPriorityQuicWan>40</connectionPriorityQuicWan> + <connectionPriorityRelay>50</connectionPriorityRelay> + <connectionPriorityUpgradeThreshold>0</connectionPriorityUpgradeThreshold> </options> + <defaults> + <folder id="" label="" path="~" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true"> + <filesystemType>basic</filesystemType> + <device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy=""> + <encryptionPassword></encryptionPassword> + </device> + <minDiskFree unit="%">1</minDiskFree> + <versioning> + <cleanupIntervalS>3600</cleanupIntervalS> + <fsPath></fsPath> + <fsType>basic</fsType> + </versioning> + <copiers>0</copiers> + <pullerMaxPendingKiB>0</pullerMaxPendingKiB> + <hashers>0</hashers> + <order>random</order> + <ignoreDelete>false</ignoreDelete> + <scanProgressIntervalS>0</scanProgressIntervalS> + <pullerPauseS>0</pullerPauseS> + <maxConflicts>10</maxConflicts> + <disableSparseFiles>false</disableSparseFiles> + <disableTempIndexes>false</disableTempIndexes> + <paused>false</paused> + <weakHashThresholdPct>25</weakHashThresholdPct> + <markerName>.stfolder</markerName> + <copyOwnershipFromParent>false</copyOwnershipFromParent> + <modTimeWindowS>0</modTimeWindowS> + <maxConcurrentWrites>2</maxConcurrentWrites> + <disableFsync>false</disableFsync> + <blockPullOrder>standard</blockPullOrder> + <copyRangeMethod>standard</copyRangeMethod> + <caseSensitiveFS>false</caseSensitiveFS> + <junctionsAsDirs>false</junctionsAsDirs> + <syncOwnership>false</syncOwnership> + <sendOwnership>false</sendOwnership> + <syncXattrs>false</syncXattrs> + <sendXattrs>false</sendXattrs> + <xattrFilter> + <maxSingleEntrySize>1024</maxSingleEntrySize> + <maxTotalSize>4096</maxTotalSize> + </xattrFilter> + </folder> + <device id="" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy=""> + <address>dynamic</address> + <paused>false</paused> + <autoAcceptFolders>false</autoAcceptFolders> + <maxSendKbps>0</maxSendKbps> + <maxRecvKbps>0</maxRecvKbps> + <maxRequestKiB>0</maxRequestKiB> + <untrusted>false</untrusted> + <remoteGUIPort>0</remoteGUIPort> + <numConnections>3</numConnections> + </device> + <ignores></ignores> + </defaults> </configuration> |