From 8a59a632bcee262a709260cf15e27e1bb92242e9 Mon Sep 17 00:00:00 2001 From: Mauritz Uphoff <39736813+h3adex@users.noreply.github.com> Date: Wed, 30 Apr 2025 15:19:16 +0200 Subject: [PATCH] fix: update cdn handler timeouts --- CHANGELOG.md | 13 ++++++++----- services/cdn/CHANGELOG.md | 3 +++ services/cdn/wait/wait.go | 8 ++++---- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23865f558..92391353d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,14 @@ - **Breaking Change:** Introduce typed enum constants for status attributes - `git`: [v0.3.2](services/git/CHANGELOG.md#v032-2025-05-02) - **Bugfix**: Spelling corrections in documentation -- `cdn`[v1.0.0](services/cdn/CHANGELOG.md#v100-2025-05-02) - - **Feature:** Support for log management - - **Feature:** Create distribution payload has additional optional attributes for blocked countries, IPs and volume limitation - - **Feature:** Config Patch payload has additional optional attributes for blocked countries, IPs and volume limitation - - **Breaking Change:** Config has additional required attributes for blocked countries, IPs and volume limitation +- `cdn`: + - [v1.0.1](services/cdn/CHANGELOG.md#v101-2025-05-05) + - **Enhancement:** Increase waiter timeouts + - [v1.0.0](services/cdn/CHANGELOG.md#v100-2025-05-02) + - **Feature:** Support for log management + - **Feature:** Create distribution payload has additional optional attributes for blocked countries, IPs and volume limitation + - **Feature:** Config Patch payload has additional optional attributes for blocked countries, IPs and volume limitation + - **Breaking Change:** Config has additional required attributes for blocked countries, IPs and volume limitation - `alb`: [v0.2.2](services/alb/CHANGELOG.md#v022-2025-05-02) - **Feature:** Switch to beta2 API diff --git a/services/cdn/CHANGELOG.md b/services/cdn/CHANGELOG.md index eae103a97..6ef9d1908 100644 --- a/services/cdn/CHANGELOG.md +++ b/services/cdn/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.0.1 (2025-05-05) +- **Enhancement:** Increase waiter timeouts + ## v1.0.0 (2025-05-02) - **Feature:** Support for log management - **Feature:** Create distribution payload has additional optional attributes for blocked countries, IPs and volume limitation diff --git a/services/cdn/wait/wait.go b/services/cdn/wait/wait.go index 4a04bafca..89b507c67 100644 --- a/services/cdn/wait/wait.go +++ b/services/cdn/wait/wait.go @@ -54,7 +54,7 @@ func CreateDistributionPoolWaitHandler(ctx context.Context, api APIClientInterfa } return false, nil, nil }) - handler.SetTimeout(1 * time.Minute) + handler.SetTimeout(10 * time.Minute) return handler } @@ -109,7 +109,7 @@ func DeleteDistributionWaitHandler(ctx context.Context, api APIClientInterface, return false, nil, err }) - handler.SetTimeout(30 * time.Second) + handler.SetTimeout(10 * time.Minute) return handler } @@ -136,7 +136,7 @@ func CreateCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, return true, nil, fmt.Errorf("CDNCustomDomainWaitHandler: unexpected status %s", *resp.CustomDomain.Status) } }) - handler.SetTimeout(1 * time.Minute) + handler.SetTimeout(10 * time.Minute) return handler } @@ -156,6 +156,6 @@ func DeleteCDNCustomDomainWaitHandler(ctx context.Context, a APIClientInterface, } return false, nil, err }) - handler.SetTimeout(30 * time.Second) + handler.SetTimeout(10 * time.Minute) return handler }