aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorstlpmo <hq-STLPMO@chinaunicom.cn>2019-11-11 09:15:17 +0800
committerstlpmo <hq-STLPMO@chinaunicom.cn>2019-11-11 09:15:17 +0800
commit802a0eb3fe115cd213d1238912fe431601e8f102 (patch)
tree168428721bbbdbee95900ff117e7d86f5c060807 /weed/command/scaffold.go
parent1c8bed381068f3a3bd6858c774c39744f760db73 (diff)
downloadseaweedfs-802a0eb3fe115cd213d1238912fe431601e8f102.tar.xz
seaweedfs-802a0eb3fe115cd213d1238912fe431601e8f102.zip
move from cmd-line to scaffold
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 7a988cdcf..9b266a69d 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -346,5 +346,12 @@ scripts = """
"""
sleep_minutes = 17 # sleep minutes between each script execution
+sequencer.type = memory # Choose [memory|etcd] type for storing the file id sequence
+
+# when sequencer.type = etcd, set listen client urls of etcd cluster that store file id sequence
+# example : http://127.0.0.1:2379,http://127.0.0.1:2389
+sequencer.etcd.urls = http://127.0.0.1:2379
+
+
`
)