Skip to content

Commit

Permalink
Enable watchable schema cache (#287)
Browse files Browse the repository at this point in the history
* Add env to enable watchable schema cache

Signed-off-by: Jonathan Marcantonio <[email protected]>

* Update env name

Signed-off-by: Jonathan Marcantonio <[email protected]>

* lint

Signed-off-by: Jonathan Marcantonio <[email protected]>

* Default to false

Signed-off-by: Jonathan Marcantonio <[email protected]>

---------

Signed-off-by: Jonathan Marcantonio <[email protected]>
  • Loading branch information
lennysgarage authored Nov 22, 2024
1 parent 5498136 commit eebab5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/kessel-relations-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ objects:
value: ${SPICEDB_DATASTORE_MAX_CONN_OPEN}
- name: SPICEDB_DATASTORE_CONN_POOL_READ_MIN_OPEN
value: ${SPICEDB_DATASTORE_MIN_CONN_OPEN}
- name: SPICEDB_ENABLE_EXPERIMENTAL_WATCHABLE_SCHEMA_CACHE
value: ${SPICEDB_ENABLE_WATCHABLE_SCHEMA_CACHE}
volumeMounts:
- name: rds-tls
mountPath: /etc/tls/rds.pem
Expand Down Expand Up @@ -188,3 +190,6 @@ parameters:
- description: Minimum number of open connections to datastore
name: SPICEDB_DATASTORE_MIN_CONN_OPEN
value: '20'
- description: Enable the experimental schema cache which makes use of the Watch API for automatic updates
name: SPICEDB_ENABLE_WATCHABLE_SCHEMA_CACHE
value: false

0 comments on commit eebab5f

Please sign in to comment.