diff options
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/filer.go | 2 | ||||
| -rw-r--r-- | weed/command/server.go | 1 |
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 { |
