Skip to content

Commit

Permalink
Merge pull request #351 from sadyrov/gh-pages
Browse files Browse the repository at this point in the history
Described new PSG and CGI parameters. JIRA CXX-13405
  • Loading branch information
vserova authored Feb 8, 2024
2 parents 22c5ea1 + 8a73368 commit da96154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/ch_libconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,8 @@ Table 13.6. psg_client library configuration parameters
| Defines how often to report PSG client API stats, in seconds. Less or equal to zero means the stats are only reported on exit | **`[PSG]`**<br/>**`stats_period`**<br/><br/>**`NCBI_CONFIG__PSG__STATS_PERIOD`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | double | 0.0 |
| Specifies a cookie name for any authorization token (from the 'auth_token' property of the request context). | **`[PSG]`**<br/>**`auth_token_name`**<br/><br/>**`NCBI_PSG_AUTH_TOKEN_NAME`** | string | "WebCubbyUser" |
| Sets/overrides a cookie value for any authorization token (from the 'auth_token' property of the request context). | **`[PSG]`**<br/>**`auth_token`**<br/><br/>**`NCBI_PSG_AUTH_TOKEN`** | string | "" (ignored) |
| Specifies a cookie name for admin authorization token. | **`[PSG]`**<br/>**`admin_auth_token_name`**<br/><br/>**`NCBI_PSG_ADMIN_AUTH_TOKEN_NAME`** | string | "AdminAuthToken" |
| Sets/overrides a cookie value for admin authorization token. | **`[PSG]`**<br/>**`admin_auth_token`**<br/><br/>**`NCBI_PSG_ADMIN_AUTH_TOKEN`** | string | "" (ignored) |
| Indicates whether throttling is enabled and, if so, when server throttling is released, in seconds | **`[PSG]`**<br/>**`throttle_relaxation_period`**<br/><br/>**`NCBI_CONFIG__PSG__THROTTLE_RELAXATION_PERIOD`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer | 0 (throttling is disabled) |
| This is one condition that will trigger server throttling and is defined as a string having the form "A / B" where A and B are integers. Throttling will be triggered if there are A failures in the last B operations | **`[PSG]`**<br/>**`throttle_by_connection_error_rate`**<br/><br/>**`NCBI_CONFIG__PSG__THROTTLE_BY_CONNECTION_ERROR_RATE`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | a string having the form "A / B" where A and B are integers | "" (ignored) |
| This is another condition that will trigger server throttling and is defined as follows. Server throttling will be triggered if this number of consecutive connection failures happens | **`[PSG]`**<br/>**`throttle_by_consecutive_connection_failures`**<br/><br/>**`NCBI_CONFIG__PSG__THROTTLE_BY_CONSECUTIVE_CONNECTION_FAILURES`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer | 0 (ignored) |
Expand Down

0 comments on commit da96154

Please sign in to comment.