Skip to content

Commit

Permalink
Merge pull request #9 from Rwatana/master
Browse files Browse the repository at this point in the history
Modify the time from 10sec to 60sec to wait creating of VM
  • Loading branch information
sp-yduck authored Nov 25, 2023
2 parents bfdbdae + 5f779cd commit e51c3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (
)

func (s *Service) MustGetTask(ctx context.Context, node string, upid string) (*api.Task, error) {
for i := 0; i < 10; i++ {
for i := 0; i < 60; i++ {
task, err := s.restclient.GetTask(ctx, node, upid)
if err != nil {
if rest.IsNotFound(err) {
Expand Down

0 comments on commit e51c3ec

Please sign in to comment.