Skip to content

Commit 6262e61

Browse files
chore: decrease sleep amount
1 parent 64cc9eb commit 6262e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/ctrlc/root/sync/terraform/terraform_workspaces.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func getWorkspaceVariables(ctx context.Context, workspace *tfe.Workspace, client
6262
}
6363

6464
variables[fetchedVariable.Key] = fetchedVariable.Value
65-
time.Sleep(200 * time.Millisecond)
65+
time.Sleep(50 * time.Millisecond)
6666
}
6767
return variables
6868
}
@@ -192,7 +192,7 @@ func getWorkspacesInOrg(ctx context.Context, client *tfe.Client, organization st
192192
continue
193193
}
194194
workspaceResources = append(workspaceResources, workspaceResource)
195-
time.Sleep(1 * time.Second)
195+
time.Sleep(50 * time.Millisecond)
196196
}
197197
return workspaceResources, nil
198198
}

0 commit comments

Comments
 (0)