From 12ad09265113753bcea1a75dd820c746cdb58622 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Tue, 26 Sep 2023 03:44:16 -0700 Subject: [PATCH] Increase timeouts for datastoresRP resources --- pkg/datastoresrp/frontend/controller/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/datastoresrp/frontend/controller/types.go b/pkg/datastoresrp/frontend/controller/types.go index 224063485a..7f97f71bbb 100644 --- a/pkg/datastoresrp/frontend/controller/types.go +++ b/pkg/datastoresrp/frontend/controller/types.go @@ -25,9 +25,9 @@ const ( OperationListSecret = "LISTSECRETS" // AsyncCreateOrUpdateMongoDatabaseTimeout is the timeout for async create or update Mongo database - AsyncCreateOrUpdateMongoDatabaseTimeout = time.Duration(10) * time.Minute + AsyncCreateOrUpdateMongoDatabaseTimeout = time.Duration(60) * time.Minute // AsyncDeleteMongoDatabaseTimeout is the timeout for async delete Mongo database - AsyncDeleteMongoDatabaseTimeout = time.Duration(15) * time.Minute + AsyncDeleteMongoDatabaseTimeout = time.Duration(30) * time.Minute // AsyncCreateOrUpdateRedisCacheTimeout is the timeout for async create or update Redis cache AsyncCreateOrUpdateRedisCacheTimeout = time.Duration(60) * time.Minute @@ -40,7 +40,7 @@ const ( AsyncDeleteDaprStateStoreTimeout = time.Duration(30) * time.Minute // AsyncCreateOrUpdateSqlTimeout is the timeout for async create or update sql database - AsyncCreateOrUpdateSqlDatabaseTimeout = time.Duration(10) * time.Minute + AsyncCreateOrUpdateSqlDatabaseTimeout = time.Duration(60) * time.Minute // AsyncDeleteSqlDatabaseTimeout is the timeout for async delete sql database - AsyncDeleteSqlDatabaseTimeout = time.Duration(15) * time.Minute + AsyncDeleteSqlDatabaseTimeout = time.Duration(30) * time.Minute )