mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http_private: db_connections_per_worker: add comment, default to 4
This commit is contained in:
parent
bd6764afaf
commit
5fb91ccc73
1 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ pub struct Config {
|
|||
/// generate responses and send them back to the socket workers.
|
||||
pub request_workers: usize,
|
||||
pub worker_channel_size: usize,
|
||||
/// Number of database connections to establish in each socket worker
|
||||
pub db_connections_per_worker: u32,
|
||||
pub log_level: LogLevel,
|
||||
pub network: NetworkConfig,
|
||||
|
|
@ -32,7 +33,7 @@ impl Default for Config {
|
|||
socket_workers: 1,
|
||||
request_workers: 1,
|
||||
worker_channel_size: 128,
|
||||
db_connections_per_worker: 1,
|
||||
db_connections_per_worker: 4,
|
||||
log_level: LogLevel::default(),
|
||||
network: NetworkConfig::default(),
|
||||
protocol: ProtocolConfig::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue