From e43986352c1a96006c6513affd4fb2bdc3680fbd Mon Sep 17 00:00:00 2001 From: Chengxuan Xing Date: Wed, 11 Dec 2024 13:34:24 +0000 Subject: [PATCH] respect HTML... Signed-off-by: Chengxuan Xing --- config.md | 6 +++--- internal/msgs/en_config_descriptions.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config.md b/config.md index 232bb76..be11a3c 100644 --- a/config.md +++ b/config.md @@ -123,10 +123,10 @@ |count|The maximum number of times to retry|`int`|`5` |enabled|Enables retries|`boolean`|`false` |errorStatusCodeRegex|The regex that the error response status code must match to trigger retry|`string`|`` -|factor| Please refer to 'connector.queryLoopRetry.factor' to understand its original purpose and use that instead|`float32`|`` +|factor|(Deprecated) Please refer to `connector.queryLoopRetry.factor` to understand its original purpose and use that instead|`float32`|`` |initWaitTime|The initial retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`250ms` -|initialDelay| Please refer to 'connector.queryLoopRetry.initialDelay' to understand its original purpose and use that instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`` -|maxDelay| Please refer to 'connector.queryLoopRetry.maxDelay' to understand its original purpose and use that instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`` +|initialDelay|(Deprecated) Please refer to `connector.queryLoopRetry.initialDelay` to understand its original purpose and use that instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`` +|maxDelay|(Deprecated) Please refer to `connector.queryLoopRetry.maxDelay` to understand its original purpose and use that instead|[`time.Duration`](https://pkg.go.dev/time#Duration)|`` |maxWaitTime|The maximum retry delay|[`time.Duration`](https://pkg.go.dev/time#Duration)|`30s` ## connector.throttle diff --git a/internal/msgs/en_config_descriptions.go b/internal/msgs/en_config_descriptions.go index ea7bf8d..a5a0e6a 100644 --- a/internal/msgs/en_config_descriptions.go +++ b/internal/msgs/en_config_descriptions.go @@ -36,9 +36,9 @@ var ( _ = ffc("config.connector.queryLoopRetry.initialDelay", "Initial delay for retrying query requests to the RPC endpoint, applicable to all the query loops", i18n.TimeDurationType) _ = ffc("config.connector.queryLoopRetry.factor", "Factor to increase the delay by, between each query request retry to the RPC endpoint, applicable to all the query loops", i18n.FloatType) _ = ffc("config.connector.queryLoopRetry.maxDelay", "Maximum delay for between each query request retry to the RPC endpoint, applicable to all the query loops", i18n.TimeDurationType) - _ = ffc("config.connector.retry.initialDelay", " Please refer to 'connector.queryLoopRetry.initialDelay' to understand its original purpose and use that instead", i18n.TimeDurationType) - _ = ffc("config.connector.retry.factor", " Please refer to 'connector.queryLoopRetry.factor' to understand its original purpose and use that instead", i18n.FloatType) - _ = ffc("config.connector.retry.maxDelay", " Please refer to 'connector.queryLoopRetry.maxDelay' to understand its original purpose and use that instead", i18n.TimeDurationType) + _ = ffc("config.connector.retry.initialDelay", "(Deprecated) Please refer to `connector.queryLoopRetry.initialDelay` to understand its original purpose and use that instead", i18n.TimeDurationType) + _ = ffc("config.connector.retry.factor", "(Deprecated) Please refer to `connector.queryLoopRetry.factor` to understand its original purpose and use that instead", i18n.FloatType) + _ = ffc("config.connector.retry.maxDelay", "(Deprecated) Please refer to `connector.queryLoopRetry.maxDelay` to understand its original purpose and use that instead", i18n.TimeDurationType) _ = ffc("config.connector.events.blockTimestamps", "Whether to include the block timestamps in the event information", i18n.BooleanType) _ = ffc("config.connector.events.catchupPageSize", "Number of blocks to query per poll when catching up to the head of the blockchain", i18n.IntType) _ = ffc("config.connector.events.catchupThreshold", "How many blocks behind the chain head an event stream or listener must be on startup, to enter catchup mode", i18n.IntType)