Skip to content

Commit

Permalink
Increase timeouts for datastoresRP resources
Browse files Browse the repository at this point in the history
  • Loading branch information
willdavsmith committed Sep 26, 2023
1 parent 240ae75 commit 12ad092
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/datastoresrp/frontend/controller/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
)

0 comments on commit 12ad092

Please sign in to comment.