From 956b1c6867a1f3aee6ee7599b868ccdeddec4020 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 29 May 2018 12:28:55 +0100 Subject: [PATCH] set register ttl and interval by default --- cmd/cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cmd.go b/cmd/cmd.go index a7fc3eb5..da26b306 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -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",