Skip to content

Commit

Permalink
increase read/write timeout on events API
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Winnicki committed Nov 8, 2017
1 parent f874877 commit 0adf040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ func StartEventsAPI(config httpapi.Config, router http.Handler) {
handler := &http.Server{
Addr: ":" + strconv.Itoa(int(config.Port)),
Handler: router,
ReadTimeout: 3 * time.Second,
WriteTimeout: 3 * time.Second,
ReadTimeout: 60 * time.Second,
WriteTimeout: 540 * time.Second,
}

server := httpapi.Server{
Expand Down

0 comments on commit 0adf040

Please sign in to comment.