perf: set default blocking threads to lower value

This commit is contained in:
Greg Heartsfield 2022-12-18 12:20:57 -06:00
parent 7a3899d852
commit b24d2f9aaa
2 changed files with 3 additions and 3 deletions

View File

@ -78,8 +78,8 @@ reject_future_seconds = 1800
# defaults to unlimited (subject to subscription limits).
#db_conns_per_client = 0
# Limit blocking threads used for database connections. Defaults to 64.
#max_blocking_threads = 64
# Limit blocking threads used for database connections. Defaults to 16.
#max_blocking_threads = 16
# Limit the maximum size of an EVENT message. Defaults to 128 KB.
# Set to 0 for unlimited.

View File

@ -219,7 +219,7 @@ impl Default for Settings {
messages_per_sec: None,
subscriptions_per_min: None,
db_conns_per_client: None,
max_blocking_threads: 64,
max_blocking_threads: 16,
max_event_bytes: Some(2 << 17), // 128K
max_ws_message_bytes: Some(2 << 17), // 128K
max_ws_frame_bytes: Some(2 << 17), // 128K