aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2017-06-03 11:44:24 -0700
committerChris Lu <chris.lu@gmail.com>2017-06-03 11:44:24 -0700
commit5047bdb4a20f756f5d025be0788403dbb2db9523 (patch)
tree7a7843d226d1aa68715b0a7d5812715dc715613c /weed/server/volume_server.go
parentf5bed84340b8b96c8b134b849f302120d85708c6 (diff)
downloadseaweedfs-5047bdb4a20f756f5d025be0788403dbb2db9523.tar.xz
seaweedfs-5047bdb4a20f756f5d025be0788403dbb2db9523.zip
skip bytes cache
Diffstat (limited to 'weed/server/volume_server.go')
-rw-r--r--weed/server/volume_server.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go
index cc06f0092..cace8d181 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -32,8 +32,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
dataCenter string, rack string,
whiteList []string,
fixJpgOrientation bool,
- readRedirect bool,
- enableBytesCache bool) *VolumeServer {
+ readRedirect bool) *VolumeServer {
vs := &VolumeServer{
pulseSeconds: pulseSeconds,
dataCenter: dataCenter,
@@ -44,7 +43,6 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
}
vs.SetMasterNode(masterNode)
vs.store = storage.NewStore(port, ip, publicUrl, folders, maxCounts, vs.needleMapKind)
- storage.EnableBytesCache = enableBytesCache
vs.guard = security.NewGuard(whiteList, "")