diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-07-03 15:55:56 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-07-03 15:55:56 -0700 |
| commit | 5bcc77b46cd96c096bad7afbd8544496d828cff6 (patch) | |
| tree | 9191fd3e607eefb58a2bd1308bc0954b1ff8c6c2 /weed/command/server.go | |
| parent | f5fa0b08fd2b10de88bcb4e7c16ca3e844e1831c (diff) | |
| download | seaweedfs-5bcc77b46cd96c096bad7afbd8544496d828cff6.tar.xz seaweedfs-5bcc77b46cd96c096bad7afbd8544496d828cff6.zip | |
volume: default readMode to proxy
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index f6c033c64..97f117665 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -107,7 +107,7 @@ func init() { serverOptions.v.indexType = cmdServer.Flag.String("volume.index", "memory", "Choose [memory|leveldb|leveldbMedium|leveldbLarge] mode for memory~performance balance.") serverOptions.v.diskType = cmdServer.Flag.String("volume.disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag") serverOptions.v.fixJpgOrientation = cmdServer.Flag.Bool("volume.images.fix.orientation", false, "Adjust jpg orientation when uploading.") - serverOptions.v.readMode = cmdServer.Flag.String("volume.readMode", "redirect", "[local|proxy|redirect] how to deal with non-local volume: 'not found|read in remote node|redirect volume location'.") + serverOptions.v.readMode = cmdServer.Flag.String("volume.readMode", "proxy", "[local|proxy|redirect] how to deal with non-local volume: 'not found|read in remote node|redirect volume location'.") serverOptions.v.compactionMBPerSecond = cmdServer.Flag.Int("volume.compactionMBps", 0, "limit compaction speed in mega bytes per second") serverOptions.v.fileSizeLimitMB = cmdServer.Flag.Int("volume.fileSizeLimitMB", 256, "limit file size to avoid out of memory") serverOptions.v.concurrentUploadLimitMB = cmdServer.Flag.Int("volume.concurrentUploadLimitMB", 64, "limit total concurrent upload size") |
