Skip to content

Commit

Permalink
[#43] Update configuration info in template and README.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn authored and alanking committed Oct 3, 2023
1 parent 547a696 commit f6f6411
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Notice how some of the configuration values are wrapped in angle brackets (e.g.
// These options are primarily related to long-running tasks.
"background_io": {
// The number of threads dedicated to background I/O.
"threads": 3
"threads": 6
}
},

Expand Down Expand Up @@ -227,6 +227,10 @@ Notice how some of the configuration values are wrapped in angle brackets (e.g.
"refresh_when_resource_changes_detected": true
},

// The maximum number of parallel streams that can be associated to a
// single parallel write handle.
"max_number_of_parallel_write_streams": 3,

// The buffer size used for read operations.
"max_rbuffer_size_in_bytes": 8192,

Expand Down
16 changes: 14 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ auto print_configuration_template() -> void
"basic": {{
"timeout_in_seconds": 3600
}},
"oidc": {{
"config_host": "<string>",
"port": 8080,
"well_known_uri": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>"
}}
}},
Expand All @@ -197,7 +205,7 @@ auto print_configuration_template() -> void
}},
"background_io": {{
"threads": 3
"threads": 6
}}
}},
Expand All @@ -223,9 +231,13 @@ auto print_configuration_template() -> void
"connection_pool": {{
"size": 6,
"refresh_timeout_in_seconds": 600
"refresh_timeout_in_seconds": 600,
"max_retrievals_before_refresh": 16,
"refresh_when_resource_changes_detected": true
}},
"max_number_of_parallel_write_streams": 3,
"max_rbuffer_size_in_bytes": 8192,
"max_wbuffer_size_in_bytes": 8192,
Expand Down

0 comments on commit f6f6411

Please sign in to comment.