aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/volume.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 9d665d143..5e03ad296 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -11,6 +11,7 @@ import (
"time"
"github.com/spf13/viper"
+ "github.com/valyala/fasthttp"
"google.golang.org/grpc"
"github.com/chrislusf/seaweedfs/weed/security"
@@ -165,6 +166,8 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
*v.fileSizeLimitMB,
)
+ go fasthttp.ListenAndServe(":8081", volumeServer.HandleFastHTTP)
+
// starting grpc server
grpcS := v.startGrpcService(volumeServer)