| commit | 5b369544241e54f44e733e7eca3e274c25ed0269 | [log] [tgz] |
|---|---|---|
| author | Rohit Yadav <rohit.yadav@shapeblue.com> | Fri May 10 20:00:47 2024 +0530 |
| committer | Rohit Yadav <rohit.yadav@shapeblue.com> | Fri May 10 20:00:47 2024 +0530 |
| tree | 79a13859e3aa3ff70fcf55e0eae0c1d2af2f369f | |
| parent | 73348c3b0cf8736ba6204b83db700eb9abdb103a [diff] |
csbench: bump default sync api timeout to 300s/5mins same as async ones Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
diff --git a/csbench.go b/csbench.go index a6e2ed7..72c98a5 100644 --- a/csbench.go +++ b/csbench.go
@@ -313,6 +313,7 @@ for _, profile := range profiles { if profile.Name == "admin" { cs = cloudstack.NewAsyncClient(config.URL, profile.ApiKey, profile.SecretKey, false) + cs.Timeout(time.Duration(300 * time.Second)) } }