diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-04 00:44:27 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-04 00:44:27 -0800 |
| commit | e0316052489c6b379e1b525da130c94581f32381 (patch) | |
| tree | a665b84f87dc70dc4627c6fb1153eff5d45004a3 | |
| parent | f90c43635d96cace1ab1ca965a56a082f880aa4b (diff) | |
| download | seaweedfs-e0316052489c6b379e1b525da130c94581f32381.tar.xz seaweedfs-e0316052489c6b379e1b525da130c94581f32381.zip | |
purge code
| -rw-r--r-- | weed/command/msg_broker.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/command/msg_broker.go b/weed/command/msg_broker.go index 0d69a9a66..21551df9e 100644 --- a/weed/command/msg_broker.go +++ b/weed/command/msg_broker.go @@ -25,8 +25,6 @@ var ( type QueueOptions struct { filer *string port *int - tlsPrivateKey *string - tlsCertificate *string defaultTtl *string } @@ -34,8 +32,6 @@ func init() { cmdMsgBroker.Run = runMsgBroker // break init cycle messageBrokerStandaloneOptions.filer = cmdMsgBroker.Flag.String("filer", "localhost:8888", "filer server address") messageBrokerStandaloneOptions.port = cmdMsgBroker.Flag.Int("port", 17777, "queue server gRPC listen port") - messageBrokerStandaloneOptions.tlsPrivateKey = cmdMsgBroker.Flag.String("key.file", "", "path to the TLS private key file") - messageBrokerStandaloneOptions.tlsCertificate = cmdMsgBroker.Flag.String("cert.file", "", "path to the TLS certificate file") messageBrokerStandaloneOptions.defaultTtl = cmdMsgBroker.Flag.String("ttl", "1h", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y") } |
