diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-20 12:50:40 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-20 12:50:40 -0700 |
| commit | de5ca9b25809e846026784b6721cfc76471c87bf (patch) | |
| tree | 20a8a6a1b6dee4b698f2e2f74c652e898a248114 /weed/command/volume.go | |
| parent | 3080c197e3e75dfd48ce2bda08c46d1f6423e65c (diff) | |
| download | seaweedfs-de5ca9b25809e846026784b6721cfc76471c87bf.tar.xz seaweedfs-de5ca9b25809e846026784b6721cfc76471c87bf.zip | |
remove fixJpgOrientation
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index ba8c1a550..a20ac8c81 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -47,7 +47,6 @@ type VolumeServerOptions struct { rack *string whiteList []string indexType *string - fixJpgOrientation *bool readRedirect *bool cpuProfile *string memProfile *string @@ -71,7 +70,6 @@ func init() { v.dataCenter = cmdVolume.Flag.String("dataCenter", "", "current volume server's data center name") v.rack = cmdVolume.Flag.String("rack", "", "current volume server's rack name") v.indexType = cmdVolume.Flag.String("index", "memory", "Choose [memory|leveldb|leveldbMedium|leveldbLarge] mode for memory~performance balance.") - v.fixJpgOrientation = cmdVolume.Flag.Bool("images.fix.orientation", false, "Adjust jpg orientation when uploading.") v.readRedirect = cmdVolume.Flag.Bool("read.redirect", true, "Redirect moved or non-local volumes.") v.cpuProfile = cmdVolume.Flag.String("cpuprofile", "", "cpu profile output file") v.memProfile = cmdVolume.Flag.String("memprofile", "", "memory profile output file") @@ -192,7 +190,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v volumeNeedleMapKind, strings.Split(masters, ","), 5, *v.dataCenter, *v.rack, v.whiteList, - *v.fixJpgOrientation, *v.readRedirect, + *v.readRedirect, *v.compactionMBPerSecond, *v.fileSizeLimitMB, ) |
