Skip to content

Commit 2e6541f

Browse files
committed
update docs
1 parent 5954b80 commit 2e6541f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/config.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ rx_timeout = 300000
1616
tx_timeout = 10000
1717
blocks_max_requested = 16 # maximum amount of concurrently requested blocks
1818

19+
[db]
20+
upper_limit = 0x400000000 # maximum amount of database, in bytes
21+
uncommited_threshold = 150 # how often flush db to disk, i.e. how much operations
22+
# might be not commited. Affects disk performance
23+
1924
[dialer]
2025
enabled = true
2126
redial_timeout = 300000 # how often try to redial to offline peers
@@ -24,9 +29,6 @@ redial_timeout = 300000 # how often try to redial to offline peers
2429
temporally_timeout = 86400000 # remove incomplete file after this timeout
2530
mru_size = 10 # maximum amount of cached files
2631

27-
[db]
28-
upper_limit = 0x400000000
29-
uncommited_threshold = 150
3032

3133
[global_discovery]
3234
announce_url = 'https://discovery.syncthing.net/'
@@ -63,7 +65,7 @@ level = 'debug'
6365
# where folders are created by dfault
6466
default_location = '/tmp/syncspirit'
6567
# this device name
66-
device_name = 'hp-note'
68+
device_name = 'this-device-name'
6769
timeout = 5000
6870
# the amount of hasher threads
6971
hasher_threads = 3

0 commit comments

Comments
 (0)