diff --git a/.env.example b/.env.example index 4fbcf2d2..296665af 100644 --- a/.env.example +++ b/.env.example @@ -25,7 +25,7 @@ # AR.IO node exposed port number # PORT=4000 -# Number from 0 to Infinity, representing the probability of a request failing +# Number from 0 to 1, representing the probability of a request failing # SIMULATED_REQUEST_FAILURE_RATE=0 # Arweave wallet address used for staking and rewards diff --git a/docs/envs.md b/docs/envs.md index d1e0d320..303d7e8d 100644 --- a/docs/envs.md +++ b/docs/envs.md @@ -12,7 +12,7 @@ This document describes the environment variables that can be used to configure | LOG_FORMAT | String | "simple" | Sets the format of output logs, accepts "simple" and "json" | | SKIP_CACHE | Boolean | false | If true, use indexed data as a cache and skip fetching data from the node | | PORT | Number | 4000 | AR.IO node exposed port number | -| SIMULATED_REQUEST_FAILURE_RATE | Number | 0 | Number from 0 to Infinity, representing the probability of a request failing | +| SIMULATED_REQUEST_FAILURE_RATE | Number | 0 | Number from 0 to 1, representing the probability of a request failing | | AR_IO_WALLET | String | "" | Arweave wallet address used for staking and rewards | | ADMIN_API_KEY | String | Generated | API key used for admin API requests (if not set, it's generated and logged into the console) | | BACKFILL_BUNDLE_RECORDS | Boolean | false | If true, ar.io node will start indexing missing bundles |