improvement: change suggestion and default for max sqlite DB readers

This commit is contained in:
Greg Heartsfield 2022-12-25 11:17:08 -06:00
parent 2e22334631
commit 0b51675b38
2 changed files with 4 additions and 3 deletions

View File

@ -36,8 +36,9 @@ data_directory = "."
# Minimum number of SQLite reader connections # Minimum number of SQLite reader connections
#min_conn = 4 #min_conn = 4
# Maximum number of SQLite reader connections # Maximum number of SQLite reader connections. Recommend setting this
#max_conn = 128 # to approx the number of cores.
#max_conn = 8
[network] [network]
# Bind to this network address # Bind to this network address

View File

@ -207,7 +207,7 @@ impl Default for Settings {
data_directory: ".".to_owned(), data_directory: ".".to_owned(),
in_memory: false, in_memory: false,
min_conn: 4, min_conn: 4,
max_conn: 128, max_conn: 8,
}, },
network: Network { network: Network {
port: 8080, port: 8080,