Skip to content

Commit a077e96

Browse files
committed
Bump http client timeout to 30s
1 parent 997c797 commit a077e96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/plugin/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func NewDataSetClient(dataSetUrl string, apiKey string) *DataSetClient {
3434
// Consider using the backend.httpclient package provided by the Grafana SDK.
3535
// This would allow a per-instance configurable timeout, rather than the hardcoded value here.
3636
netClient := &http.Client{
37-
Timeout: time.Second * 10,
37+
Timeout: time.Second * 30,
3838
}
3939

4040
// TODO Are there alternate approaches to implementing rate limits via the Grafana SDK?

src/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545
],
4646
"version": "3.0.8",
47-
"updated": "2022-10-07"
47+
"updated": "2022-10-13"
4848
},
4949
"dependencies": {
5050
"grafanaDependency": ">=8.2.0",

0 commit comments

Comments
 (0)