Set static (Cluster)Issuers timeout to 90 seconds
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
This commit is contained in:
parent
1efd063848
commit
40bda26e8b
@ -41,8 +41,8 @@ const (
|
||||
func (c *controller) Sync(ctx context.Context, iss *cmapi.ClusterIssuer) (err error) {
|
||||
log := logf.FromContext(ctx)
|
||||
|
||||
// allow a maximum of 10s
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second*10)
|
||||
// allow a maximum of 90s
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second*90)
|
||||
defer cancel()
|
||||
|
||||
issuerCopy := iss.DeepCopy()
|
||||
|
||||
@ -41,8 +41,8 @@ const (
|
||||
func (c *controller) Sync(ctx context.Context, iss *cmapi.Issuer) (err error) {
|
||||
log := logf.FromContext(ctx)
|
||||
|
||||
// allow a maximum of 10s
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second*10)
|
||||
// allow a maximum of 90s
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second*90)
|
||||
defer cancel()
|
||||
|
||||
issuerCopy := iss.DeepCopy()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user