set register ttl and interval by default
This commit is contained in:
parent
55aca8b0bf
commit
956b1c6867
@ -82,11 +82,13 @@ var (
|
||||
Name: "register_ttl",
|
||||
EnvVar: "MICRO_REGISTER_TTL",
|
||||
Usage: "Register TTL in seconds",
|
||||
Value: 60,
|
||||
},
|
||||
cli.IntFlag{
|
||||
Name: "register_interval",
|
||||
EnvVar: "MICRO_REGISTER_INTERVAL",
|
||||
Usage: "Register interval in seconds",
|
||||
Value: 30,
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "server_name",
|
||||
|
Loading…
x
Reference in New Issue
Block a user