Skip to content

Commit

Permalink
timeout 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
chaolee50 committed Nov 26, 2020
1 parent acc1fa5 commit 96a1ba4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
Binary file modified dist/aliyun-log-plugin_darwin_amd64
Binary file not shown.
Binary file modified dist/aliyun-log-plugin_linux_amd64
Binary file not shown.
Binary file modified dist/aliyun-log-plugin_windows_amd64.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions pkg/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ func (ds *SlsDatasource) Query(ctx context.Context, tsdbReq *datasource.Datasour
Endpoint: tsdbReq.Datasource.Url,
AccessKeyID: accessKeyId,
AccessKeySecret: accessKeySecret,
UserAgent: "grafana-go",
RequestTimeOut: 60,
}

queries := tsdbReq.Queries
Expand Down

0 comments on commit 96a1ba4

Please sign in to comment.