Skip to content

Commit

Permalink
Merge pull request #264 from micro/register
Browse files Browse the repository at this point in the history
set register ttl and interval by default
  • Loading branch information
Asim Aslam authored May 30, 2018
2 parents 55aca8b + 956b1c6 commit a1deb5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a1deb5c

Please sign in to comment.