Strip flag setting

This commit is contained in:
Asim Aslam 2018-05-30 11:49:50 +01:00
parent a1deb5c44e
commit 5372707d0e

View File

@ -71,7 +71,6 @@ var (
Name: "client_pool_size", Name: "client_pool_size",
EnvVar: "MICRO_CLIENT_POOL_SIZE", EnvVar: "MICRO_CLIENT_POOL_SIZE",
Usage: "Sets the client connection pool size. Default: 1", Usage: "Sets the client connection pool size. Default: 1",
Value: 1,
}, },
cli.StringFlag{ cli.StringFlag{
Name: "client_pool_ttl", Name: "client_pool_ttl",
@ -82,13 +81,11 @@ 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",