mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-21 06:21:43 -04:00
versionsapi: increase cloudfront cache invalidation timeout
This commit is contained in:
parent
a2d701f421
commit
ad8a3eec4a
1 changed files with 3 additions and 2 deletions
|
@ -40,10 +40,11 @@ import (
|
||||||
cftypes "github.com/aws/aws-sdk-go-v2/service/cloudfront/types"
|
cftypes "github.com/aws/aws-sdk-go-v2/service/cloudfront/types"
|
||||||
"github.com/aws/aws-sdk-go-v2/service/s3"
|
"github.com/aws/aws-sdk-go-v2/service/s3"
|
||||||
s3types "github.com/aws/aws-sdk-go-v2/service/s3/types"
|
s3types "github.com/aws/aws-sdk-go-v2/service/s3/types"
|
||||||
|
"golang.org/x/mod/semver"
|
||||||
|
|
||||||
"github.com/edgelesssys/constellation/v2/internal/constants"
|
"github.com/edgelesssys/constellation/v2/internal/constants"
|
||||||
"github.com/edgelesssys/constellation/v2/internal/logger"
|
"github.com/edgelesssys/constellation/v2/internal/logger"
|
||||||
"github.com/edgelesssys/constellation/v2/internal/versionsapi"
|
"github.com/edgelesssys/constellation/v2/internal/versionsapi"
|
||||||
"golang.org/x/mod/semver"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client is the client for the versions API.
|
// Client is the client for the versions API.
|
||||||
|
@ -105,7 +106,7 @@ func NewClient(ctx context.Context, region, bucket, distributionID string, dryRu
|
||||||
distributionID: distributionID,
|
distributionID: distributionID,
|
||||||
dryRun: dryRun,
|
dryRun: dryRun,
|
||||||
log: log,
|
log: log,
|
||||||
cacheInvalidationWaitTimeout: 5 * time.Minute,
|
cacheInvalidationWaitTimeout: 10 * time.Minute,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue