mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 18:49:48 +00:00
add support for postgres ssl mode and root cert
This commit is contained in:
parent
5e7c2250be
commit
85637f3c89
2 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ class PostgresKVStoreImpl(KVStore):
|
|||
database=self.config.db,
|
||||
user=self.config.user,
|
||||
password=self.config.password,
|
||||
sslmode=self.config.ssl_mode,
|
||||
sslrootcert=self.config.ssl_root_cert,
|
||||
)
|
||||
self.conn.autocommit = True
|
||||
self.cursor = self.conn.cursor(cursor_factory=DictCursor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue