lower default timing

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-03-22 00:34:24 +03:00
parent f4a576c566
commit 8b1debdca0
3 changed files with 3 additions and 14 deletions

View File

@@ -37,7 +37,8 @@ func (c *vaultConfig) Init(opts ...config.Option) error {
}
cfg := api.DefaultConfig()
cfg.Timeout = 3 * time.Second
cfg.Timeout = 500 * time.Millisecond
cfg.MaxRetries = 2
path := ""
token := ""
roleID := ""