Skip to content

Commit

Permalink
wait on throttled status
Browse files Browse the repository at this point in the history
  • Loading branch information
igolaizola committed Jul 11, 2024
1 parent 4ac03f0 commit c443af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runway/runway.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (c *Client) Generate(ctx context.Context, cfg *GenerateRequest) (*Generatio
URL: artifact.URL,
PreviewURLs: artifact.PreviewURLs,
}, nil
case "PENDING", "RUNNING":
case "PENDING", "RUNNING", "THROTTLED":
c.log("runway: task %s: %s", taskResp.Task.ID, taskResp.Task.ProgressRatio)
default:
return nil, fmt.Errorf("runway: task failed: %s", taskResp.Task.Status)
Expand Down

0 comments on commit c443af4

Please sign in to comment.