Skip to content

Commit

Permalink
increased api writer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jakopako committed Jan 2, 2025
1 parent d7f1cc0 commit edb3bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewAPIWriter(wc *WriterConfig) *APIWriter {
func (f *APIWriter) Write(items chan map[string]interface{}) {
logger := slog.With(slog.String("writer", API_WRITER_TYPE))
client := &http.Client{
Timeout: time.Second * 10,
Timeout: time.Second * 60,
}
apiURL := f.writerConfig.Uri
apiUser := f.writerConfig.User
Expand Down

0 comments on commit edb3bdf

Please sign in to comment.