aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-08-19 15:17:55 -0700
committerChris Lu <chris.lu@gmail.com>2018-08-19 15:17:55 -0700
commitf827ada811bb807a9cf9e3db702a01e6f8e4ae3b (patch)
treea1a18dc6e30b906bb97492aa98692003ec5a555d /weed/command
parentc91372daa6ddceed2ef66e6e36d986658551d237 (diff)
downloadseaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.tar.xz
seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.zip
merge notification config with filer.toml
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer.go2
-rw-r--r--weed/command/server.go1
2 files changed, 0 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index d42db6418..eaef380a2 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -50,7 +50,6 @@ func init() {
f.secretKey = cmdFiler.Flag.String("secure.secret", "", "secret to encrypt Json Web Token(JWT)")
f.dirListingLimit = cmdFiler.Flag.Int("dirListLimit", 1000, "limit sub dir listing size")
f.dataCenter = cmdFiler.Flag.String("dataCenter", "", "prefer to write to volumes in this data center")
- f.enableNotification = cmdFiler.Flag.Bool("notify", false, "send file updates to the queue defined in message_queue.toml")
}
var cmdFiler = &Command{
@@ -100,7 +99,6 @@ func (fo *FilerOptions) start() {
SecretKey: *fo.secretKey,
DirListingLimit: *fo.dirListingLimit,
DataCenter: *fo.dataCenter,
- EnableNotification: *fo.enableNotification,
})
if nfs_err != nil {
glog.Fatalf("Filer startup error: %v", nfs_err)
diff --git a/weed/command/server.go b/weed/command/server.go
index bef5e635e..842a32376 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -91,7 +91,6 @@ func init() {
filerOptions.disableDirListing = cmdServer.Flag.Bool("filer.disableDirListing", false, "turn off directory listing")
filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 32, "split files larger than the limit")
filerOptions.dirListingLimit = cmdServer.Flag.Int("filer.dirListLimit", 1000, "limit sub dir listing size")
- filerOptions.enableNotification = cmdServer.Flag.Bool("filer.notify", false, "send file updates to the queue defined in message_queue.toml")
}
func runServer(cmd *Command, args []string) bool {