diff --git a/docs/cli/command-reference.md b/docs/cli/command-reference.md index aaaaa4e..2395475 100644 --- a/docs/cli/command-reference.md +++ b/docs/cli/command-reference.md @@ -3,8 +3,8 @@ @@ -54,7 +54,8 @@ The root command accepts the global flags used across data and node operations. | `--allow-loopback` | boolean | No | Allow loopback connections for local devnet or local testing | | `--ipv4-only` | boolean | No | Disable dual-stack and force IPv4-only mode | | `--quote-timeout-secs ` | integer | No | Hidden. Controls lightweight network-operation timeouts such as DHT lookups. | -| `--store-timeout-secs ` | integer | No | Hidden. Controls chunk store and retrieve timeouts. | +| `--store-timeout-secs ` | integer | No | Hidden. Sets `ClientConfig.store_timeout_secs`. Non-Merkle chunk PUT response timeout is set by an internal `STORE_RESPONSE_TIMEOUT` constant; Merkle batch PUT timeout is set by `merkle_store_timeout_secs` (270 s default, library-only); chunk GET timeout is set by `--chunk-get-timeout-secs`. | +| `--chunk-get-timeout-secs ` | integer | No | Hidden. Per-peer response timeout for chunk retrieve operations. Default 10 s. | | `--quote-concurrency ` | integer | No | Hidden. Caps the quote channel only. It does not affect store or download concurrency. | | `--store-concurrency ` | integer | No | Hidden. Controls upload chunk concurrency. `--chunk-concurrency` is accepted as an alias. | | `-v, --verbose...` | count | No | Increase log verbosity: `-v`, `-vv`, or `-vvv` | @@ -88,7 +89,7 @@ Uploads a file with self-encryption and EVM payment. | `--public` | boolean | No | Store the DataMap on-network so anyone with the address can download the file | | `--merkle` | boolean | No | Force Merkle batch payment | | `--no-merkle` | boolean | No | Force single per-chunk payments | -| `--store-timeout ` | integer | No | Hidden. Overrides the chunk store timeout for this upload. | +| `--store-timeout ` | integer | No | Hidden. Overrides `ClientConfig.store_timeout_secs` for this upload only. See the `--store-timeout-secs` row in the [Root command and global flags](#root-command-and-global-flags) section for what that field does and does not govern. | | `--store-concurrency ` | integer | No | Hidden. Overrides upload chunk concurrency for this upload. | | `--overwrite` | boolean | No | Replace any existing `.datamap` instead of writing a suffixed `-2.datamap`. | diff --git a/docs/rust/library-reference.md b/docs/rust/library-reference.md index 6fd607b..6ac1031 100644 --- a/docs/rust/library-reference.md +++ b/docs/rust/library-reference.md @@ -3,8 +3,8 @@ @@ -130,7 +130,7 @@ For Merkle batches, `prepare_merkle_batch_external` and `finalize_merkle_batch` | Type | Description | |------|-------------| | `ant_core::data::Client` | Main network client | -| `ant_core::data::ClientConfig` | Separate quote and store timeouts, concurrency limits, and loopback policy | +| `ant_core::data::ClientConfig` | Quote, Merkle batch store (`merkle_store_timeout_secs`, 270 s default), and chunk retrieve (`chunk_get_timeout_secs`) timeouts; concurrency limits; loopback policy. Non-Merkle chunk PUT response timeout is set by an internal `STORE_RESPONSE_TIMEOUT` constant, not via this struct. | | `ant_core::data::PaymentMode` | `Auto`, `Merkle`, or `Single` | | `ant_core::data::DataMap` | Private retrieval map for uploaded data | | `ant_core::data::LocalDevnet` | Local development helper |