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/volume.go | |
| parent | f5fa0b08fd2b10de88bcb4e7c16ca3e844e1831c (diff) | |
| download | seaweedfs-5bcc77b46cd96c096bad7afbd8544496d828cff6.tar.xz seaweedfs-5bcc77b46cd96c096bad7afbd8544496d828cff6.zip | |
volume: default readMode to proxy
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index ced6ec414..38a52efee 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -80,7 +80,7 @@ func init() { v.indexType = cmdVolume.Flag.String("index", "memory", "Choose [memory|leveldb|leveldbMedium|leveldbLarge] mode for memory~performance balance.") v.diskType = cmdVolume.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag") v.fixJpgOrientation = cmdVolume.Flag.Bool("images.fix.orientation", false, "Adjust jpg orientation when uploading.") - v.readMode = cmdVolume.Flag.String("readMode", "redirect", "[local|proxy|redirect] how to deal with non-local volume: 'not found|proxy to remote node|redirect volume location'.") + v.readMode = cmdVolume.Flag.String("readMode", "proxy", "[local|proxy|redirect] how to deal with non-local volume: 'not found|proxy to remote node|redirect volume location'.") v.cpuProfile = cmdVolume.Flag.String("cpuprofile", "", "cpu profile output file") v.memProfile = cmdVolume.Flag.String("memprofile", "", "memory profile output file") v.compactionMBPerSecond = cmdVolume.Flag.Int("compactionMBps", 0, "limit background compaction or copying speed in mega bytes per second") |
