Skip to content

Commit

Permalink
Update description for read replica URI flag.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jess-desu authored Aug 21, 2024
1 parent 3b44611 commit 4d39e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/spicedb/concepts/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The following are configuration flags that can be provided to every SpiceDB comm
| --datastore-credentials-provider-name | retrieve datastore credentials dynamically using one of the following options: aws-iam | |
| --datastore-engine | type of datastore to initialize ("cockroachdb", "mysql", "postgres", "spanner") | `memory` |
| --datastore-mysql-table-prefix | prefix to add to the name of all SpiceDB database tables | |
| --datastore-read-replica-conn-uri | connection string used by remote datastores for read replicas (e.g. \"postgres://postgres:password@localhost:5432/spicedb\"). Only supported for postgres and mysql. | |
| --datastore-read-replica-conn-uri | comma-separated string of replica host URIs used by Postgres and MySQL datastores for read replicas. Note: MySQL datastores can only point to a list of replica host URIs; never use a load balancer URI. Postgres datastores can point to either a list of replica host URIs or to a load balancer | |
| --datastore-read-replica-credentials-provider-name | retrieve datastore credentials dynamically using one of the following options: aws-iam | |
| --datastore-spanner-credentials | path to service account key credentials file with access to the cloud spanner instance (omit to use application default credentials) | |
| --datastore-spanner-emulator-host | URI of spanner emulator instance used for development and testing (e.g. localhost:9010) | |
Expand Down Expand Up @@ -78,7 +78,7 @@ This command serves the gRPC and HTTP APIs by default.
| --datastore-prometheus-metrics | set to false to disabled prometheus metrics from the datastore | `true` |
| --datastore-query-userset-batch-size | number of usersets after which a relationship query will be split into multiple queries | `1024` |
| --datastore-readonly | set the service to read-only mode | |
| --datastore-read-replica-conn-uri | connection string used by remote datastores for read replicas; only supported for postgres and mysqls (e.g. "postgres://postgres:password@localhost:5432/spicedb\") | |
| --datastore-read-replica-conn-uri | comma-separated string of replica host URIs used by Postgres and MySQL datastores for read replicas. Note: MySQL datastores can only point to a list of replica host URIs; never use a load balancer URI. Postgres datastores can point to either a list of replica host URIs or to a load balancer | |
| --datastore-read-replica-conn-pool-read-healthcheck-interval | amount of time between connection health checks in a read-only replica datastore's connection pool | `30s` |
| --datastore-read-replica-conn-pool-read-max-idletime | maximum amount of time a connection can idle in a read-only replica datastore's connection pool | `30m` |
| --datastore-read-replica-conn-pool-read-max-lifetime | maximum amount of time a connection can live in a read-only replica datastore's connection pool | `30m` |
Expand Down

0 comments on commit 4d39e16

Please sign in to comment.