mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
purge code
This commit is contained in:
parent
f90c43635d
commit
e031605248
|
@ -25,8 +25,6 @@ var (
|
||||||
type QueueOptions struct {
|
type QueueOptions struct {
|
||||||
filer *string
|
filer *string
|
||||||
port *int
|
port *int
|
||||||
tlsPrivateKey *string
|
|
||||||
tlsCertificate *string
|
|
||||||
defaultTtl *string
|
defaultTtl *string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,8 +32,6 @@ func init() {
|
||||||
cmdMsgBroker.Run = runMsgBroker // break init cycle
|
cmdMsgBroker.Run = runMsgBroker // break init cycle
|
||||||
messageBrokerStandaloneOptions.filer = cmdMsgBroker.Flag.String("filer", "localhost:8888", "filer server address")
|
messageBrokerStandaloneOptions.filer = cmdMsgBroker.Flag.String("filer", "localhost:8888", "filer server address")
|
||||||
messageBrokerStandaloneOptions.port = cmdMsgBroker.Flag.Int("port", 17777, "queue server gRPC listen port")
|
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")
|
messageBrokerStandaloneOptions.defaultTtl = cmdMsgBroker.Flag.String("ttl", "1h", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue