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:
parent
6471bed3a5
commit
edb5491428
1 changed files with 1 additions and 1 deletions
|
@ -2123,7 +2123,7 @@ func (dwr *DynamoDB) deleteTable(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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue