add timeout for redis queries

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10788
GitOrigin-RevId: 7a18b077e106812703c73d57b70d9a7f10a7e8ac
This commit is contained in:
paritosh-08 2024-05-06 20:19:59 +05:30 committed by hasura-bot
parent 6710a5cf78
commit 25f92f379e
2 changed files with 13 additions and 0 deletions

View File

@ -983,6 +983,18 @@ The [URL for a read replica](/databases/database-config/read-replicas.mdx#adding
| **Default** | `null` | | **Default** | `null` |
| **Supported in** | Deprecated in versions > `v2.0.0` | | **Supported in** | Deprecated in versions > `v2.0.0` |
### Redis Timeout
The timeout for redis queries while serving requests. The timeout is in seconds.
| | |
| ------------------- | --------------------------------------------- |
| **Flag** | N/A |
| **Env var** | `HASURA_GRAPHQL_REDIS_TIMEOUT` |
| **Accepted values** | Integer (Representing an interval in seconds) |
| **Default** | `null` (No timeout) |
| **Supported in** | Enterprise Edition only |
### Redis TLS Hostname ### Redis TLS Hostname
The hostname to use for SNI when connecting to a [caching Redis instance over TLS](/caching/enterprise-caching.mdx). The hostname to use for SNI when connecting to a [caching Redis instance over TLS](/caching/enterprise-caching.mdx).

View File

@ -128,4 +128,5 @@ benchmark pg-client-bench
, hasql-transaction , hasql-transaction
, pg-client , pg-client
, tasty-bench , tasty-bench
, text
, transformers , transformers