Fix api client

This commit is contained in:
Ben Sarmiento
2024-05-28 07:22:33 +02:00
parent 7470629486
commit d8b0bfc9f4
4 changed files with 7 additions and 7 deletions

View File

@@ -52,9 +52,9 @@ func MainApp(configPath string) {
apiClient := http.NewHTTPClient(
config.GetToken(),
config.GetRetriesUntilFailed()*2, // default retries = 2, so this is 4
config.GetApiTimeoutSecs(), // default api timeout = 60
false, // ipv6 support is not needed for api client
config.GetRetriesUntilFailed(), // default retries = 2, so this is 4
config.GetApiTimeoutSecs(), // default api timeout = 60
false, // ipv6 support is not needed for api client
config,
log.Named("api_client"),
)