Skip to content

Commit

Permalink
Bump http client timeout to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
jmakar-s1 committed Oct 13, 2022
1 parent 997c797 commit a077e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewDataSetClient(dataSetUrl string, apiKey string) *DataSetClient {
// Consider using the backend.httpclient package provided by the Grafana SDK.
// This would allow a per-instance configurable timeout, rather than the hardcoded value here.
netClient := &http.Client{
Timeout: time.Second * 10,
Timeout: time.Second * 30,
}

// TODO Are there alternate approaches to implementing rate limits via the Grafana SDK?
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
],
"version": "3.0.8",
"updated": "2022-10-07"
"updated": "2022-10-13"
},
"dependencies": {
"grafanaDependency": ">=8.2.0",
Expand Down

0 comments on commit a077e96

Please sign in to comment.