0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

fix: max wait time on dynamodb (#2730)

Signed-off-by: Tuan Vuong <vanhtuan0409@gmail.com>
This commit is contained in:
Tuấn Vương 2024-10-20 16:14:50 +07:00 committed by GitHub
parent 6471bed3a5
commit edb5491428
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2123,7 +2123,7 @@ func (dwr *DynamoDB) deleteTable(tableName string) error {
} }
func (dwr *DynamoDB) waitTableToBeCreated(tableName string) error { func (dwr *DynamoDB) waitTableToBeCreated(tableName string) error {
const maxWaitTime = 20 * time.Second const maxWaitTime = 120 * time.Second
waiter := dynamodb.NewTableExistsWaiter(dwr.Client) waiter := dynamodb.NewTableExistsWaiter(dwr.Client)