Skip to content

Commit d3fb46d

Browse files
committed
fix: update cdn handler timeouts
1 parent 4cd3442 commit d3fb46d

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Release (2025-XX-XX)
2+
- `cdn`: [v0.3.2](services/cdn/CHANGELOG.md#v032-2025-04-30)
3+
- **Enhancement:** Increase waiter timeouts
4+
15
## Release (2025-04-30)
26
- `core`: [v0.17.1](core/CHANGELOG.md#v0171-2025-04-09)
37
- **Improvement:** Improve error message for key flow authentication

services/cdn/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.3.2 (2025-04-30)
2+
-- **Enhancement:** Increase waiter timeouts
3+
14
## v0.3.1 (2025-04-29)
25
- **Bugfix:** Correctly handle empty payload in body
36

services/cdn/wait/wait.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func CreateDistributionPoolWaitHandler(ctx context.Context, api APIClientInterfa
5454
}
5555
return false, nil, nil
5656
})
57-
handler.SetTimeout(1 * time.Minute)
57+
handler.SetTimeout(10 * time.Minute)
5858
return handler
5959
}
6060

@@ -109,7 +109,7 @@ func DeleteDistributionWaitHandler(ctx context.Context, api APIClientInterface,
109109

110110
return false, nil, err
111111
})
112-
handler.SetTimeout(30 * time.Second)
112+
handler.SetTimeout(10 * time.Minute)
113113
return handler
114114
}
115115

@@ -136,7 +136,7 @@ func CreateCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface,
136136
return true, nil, fmt.Errorf("CDNCustomDomainWaitHandler: unexpected status %s", *resp.CustomDomain.Status)
137137
}
138138
})
139-
handler.SetTimeout(1 * time.Minute)
139+
handler.SetTimeout(10 * time.Minute)
140140
return handler
141141
}
142142

@@ -156,6 +156,6 @@ func DeleteCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface,
156156
}
157157
return false, nil, err
158158
})
159-
handler.SetTimeout(30 * time.Second)
159+
handler.SetTimeout(10 * time.Minute)
160160
return handler
161161
}

0 commit comments

Comments
 (0)