Skip to content

Commit

Permalink
set context timeout to 30 seconds (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmister committed Dec 9, 2022
1 parent 2275492 commit 09907ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
const (
APIErrorIDNotConnected = "not_connected"

requestTimeout = 5 * time.Second
requestTimeout = 30 * time.Second
)

func (p *Plugin) ServeHTTP(c *plugin.Context, w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 09907ab

Please sign in to comment.