Skip to content

Commit

Permalink
fix: http loader timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed Jan 11, 2024
1 parent 7c6db45 commit cb54893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewHttpLoader(cfg *Config, cCfgChecks chan<- map[string]any) *HttpLoader {
cfg: cfg,
cCfgChecks: cCfgChecks,
client: &http.Client{
Timeout: cfg.Loader.http.timeout * time.Second,
Timeout: cfg.Loader.http.timeout,
},
}
}
Expand Down

0 comments on commit cb54893

Please sign in to comment.