This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-csbench.git


The following commit(s) were added to refs/heads/main by this push:
     new 5b36954  csbench: bump default sync api timeout to 300s/5mins same as 
async ones
5b36954 is described below

commit 5b369544241e54f44e733e7eca3e274c25ed0269
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
AuthorDate: Fri May 10 20:00:47 2024 +0530

    csbench: bump default sync api timeout to 300s/5mins same as async ones
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
---
 csbench.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/csbench.go b/csbench.go
index a6e2ed7..72c98a5 100644
--- a/csbench.go
+++ b/csbench.go
@@ -313,6 +313,7 @@ func executeVMAction(vmAction *string, workers *int) 
map[string][]*Result {
        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))
                }
        }
 

Reply via email to