Merge pull request #264 from micro/register
set register ttl and interval by default
This commit is contained in:
commit
a1deb5c44e
@ -82,11 +82,13 @@ var (
|
|||||||
Name: "register_ttl",
|
Name: "register_ttl",
|
||||||
EnvVar: "MICRO_REGISTER_TTL",
|
EnvVar: "MICRO_REGISTER_TTL",
|
||||||
Usage: "Register TTL in seconds",
|
Usage: "Register TTL in seconds",
|
||||||
|
Value: 60,
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "register_interval",
|
Name: "register_interval",
|
||||||
EnvVar: "MICRO_REGISTER_INTERVAL",
|
EnvVar: "MICRO_REGISTER_INTERVAL",
|
||||||
Usage: "Register interval in seconds",
|
Usage: "Register interval in seconds",
|
||||||
|
Value: 30,
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "server_name",
|
Name: "server_name",
|
||||||
|
Loading…
Reference in New Issue
Block a user