From 123bfc2e3887317bd3f442fd62d7677e1ab09ea1 Mon Sep 17 00:00:00 2001 From: Chengxuan Xing Date: Tue, 9 Jan 2024 09:22:48 +0000 Subject: [PATCH 1/2] update document to reflect supported db types Signed-off-by: Chengxuan Xing --- config.md | 2 +- internal/tmmsgs/en_config_descriptions.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.md b/config.md index a5d27d22..7cbb7a5a 100644 --- a/config.md +++ b/config.md @@ -201,7 +201,7 @@ |Key|Description|Type|Default Value| |---|-----------|----|-------------| -|type|The type of persistence to use|Only 'leveldb' currently supported|`leveldb` +|type|The type of persistence to use|`leveldb`, `postgres`(supports rich query)|`leveldb` ## persistence.leveldb diff --git a/internal/tmmsgs/en_config_descriptions.go b/internal/tmmsgs/en_config_descriptions.go index 664ca267..e01ae022 100644 --- a/internal/tmmsgs/en_config_descriptions.go +++ b/internal/tmmsgs/en_config_descriptions.go @@ -94,7 +94,7 @@ var ( ConfigEventStreamsRetryMaxDelay = ffc("config.eventstreams.retry.maxDelay", "Maximum delay between retries", i18n.TimeDurationType) ConfigEventStreamsRetryFactor = ffc("config.eventstreams.retry.factor", "Factor to increase the delay by, between each retry", i18n.FloatType) - ConfigPersistenceType = ffc("config.persistence.type", "The type of persistence to use", "Only 'leveldb' currently supported") + ConfigPersistenceType = ffc("config.persistence.type", "The type of persistence to use", "`leveldb`, `postgres`(supports rich query)") ConfigPersistenceLevelDBPath = ffc("config.persistence.leveldb.path", "The path for the LevelDB persistence directory", i18n.StringType) ConfigPersistenceLevelDBMaxHandles = ffc("config.persistence.leveldb.maxHandles", "The maximum number of cached file handles LevelDB should keep open", i18n.IntType) ConfigPersistenceLevelDBSyncWrites = ffc("config.persistence.leveldb.syncWrites", "Whether to synchronously perform writes to the storage", i18n.BooleanType) From 4896bdd6c16ddee84ea7e2cb7091612ca3e3ee93 Mon Sep 17 00:00:00 2001 From: Chengxuan Xing Date: Tue, 9 Jan 2024 09:48:17 +0000 Subject: [PATCH 2/2] update copyright Signed-off-by: Chengxuan Xing --- internal/tmmsgs/en_config_descriptions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tmmsgs/en_config_descriptions.go b/internal/tmmsgs/en_config_descriptions.go index e01ae022..99c84d3f 100644 --- a/internal/tmmsgs/en_config_descriptions.go +++ b/internal/tmmsgs/en_config_descriptions.go @@ -1,4 +1,4 @@ -// Copyright © 2023 Kaleido, Inc. +// Copyright © 2024 Kaleido, Inc. // // SPDX-License-Identifier: Apache-2.0 //