Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/ch_libconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,8 @@ Table 13.6. psg_client library configuration parameters
| Either a name of service (which can be resolved into a set of PSG servers) or a single fixed PSG server (in format "host:port"). | **`[PSG]`**<br/>**`service`**<br/><br/>**`NCBI_PSG_SERVICE`** | string | "PSG2" |
| How often to query LBSM, in seconds. Less or equal to zero means no rebalance based on time | **`[PSG]`**<br/>**`rebalance_time`**<br/><br/>**`NCBI_CONFIG__PSG__REBALANCE_TIME`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | double \>= 1.0 | 10.0 |
| How often to query LBSM while no servers discovered, in seconds. Less or equal to zero means `rebalance_time` is used instead | **`[PSG]`**<br/>**`no_servers_retry_delay`**<br/><br/>**`NCBI_CONFIG__PSG__NO_SERVERS_RETRY_DELAY`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | double | 1.0 |
| Number of internal I/O threads. | **`[PSG]`**<br/>**`num_io`**<br/><br/>**`NCBI_CONFIG__PSG__NUM_IO`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
| Max number of sessions (TCP connections) per server per I/O thread. Each thread has one session per server at start. New sessions are added dynamically (up to the limit) if all existing ones are full. | **`[PSG]`**<br/>**`max_sessions`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_SESSIONS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
| Number of internal I/O threads. Each thread has one session (TCP connection) per server at start. New sessions are added dynamically (up to the 'max_sessions' limit, see below). | **`[PSG]`**<br/>**`num_io`**<br/><br/>**`NCBI_CONFIG__PSG__NUM_IO`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
| Max number of sessions (TCP connections) per server per I/O thread. Each thread has one session per server at start. New sessions are added dynamically (up to the limit) if all existing ones are full. For a single-server service the limit is at least 2. | **`[PSG]`**<br/>**`max_sessions`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_SESSIONS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
| Maximum number of concurrent streams per session (TCP connection) | **`[PSG]`**<br/>**`max_concurrent_streams`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_STREAMS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 10 | 100 |
| Maximum number of concurrent submits per "on queue" callback. Essentially, maximum number of requests to be sent per one I/O operation. | **`[PSG]`**<br/>**`max_concurrent_submits`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_SUBMITS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 150 |
| Maximum number of concurrent requests per server. | **`[PSG]`**<br/>**`max_concurrent_requests_per_server`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_REQUESTS_PER_SERVER`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 100 | 500 |
Expand Down