aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-03 22:54:31 +0500
committerKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-03 22:54:31 +0500
commitf127b326bfca03df506fd8481c74ab874422098d (patch)
treec700d6fb7da9f4fec060d032692c455f69be3326 /weed/command/scaffold
parent7b544576af87865c42697492bfdf3af30ee27229 (diff)
downloadseaweedfs-f127b326bfca03df506fd8481c74ab874422098d.tar.xz
seaweedfs-f127b326bfca03df506fd8481c74ab874422098d.zip
add options to scaffold
Diffstat (limited to 'weed/command/scaffold')
-rw-r--r--weed/command/scaffold/filer.toml12
1 files changed, 7 insertions, 5 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index 3a920d80b..595fb2e62 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -295,12 +295,14 @@ password=""
# skip tls cert validation
insecure_skip_verify = true
-[ydb]
+[ydb] # https://ydb.tech/
enabled = false
-useBucketPrefix=true
-dsn="grpc://localhost:2136?database=/local"
-prefix="en"
-poolSizeLimit=50
+dsn = "grpc://localhost:2136?database=/local"
+prefix = "seaweedfs"
+useBucketPrefix = true # Fast Bucket Deletion
+poolSizeLimit = 50
+dialTimeOut = 10
+
# Authenticate produced with one of next environment variables:
# YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=<path/to/sa_key_file> — used service account key file by path
# YDB_ANONYMOUS_CREDENTIALS="1" — used for authenticate with anonymous access. Anonymous access needs for connect to testing YDB installation