Skip to content

Commit

Permalink
fix(timeout): increase timeout thres for bootstrapping (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI authored Mar 26, 2024
1 parent d0aa3c9 commit 8da7488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/resource/obtenant/obtenant_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ func (m *OBTenantManager) CreateUserWithCredentials() tasktypes.TaskError {
}
}

if standbyROPwd == "" && secret != nil {
if standbyROPwd == "" {
standbyROPwd = string(secret.Data["password"])
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/oceanbase-sdk/const/config/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ import (
)

const (
BootstrapTimeout = 600 * time.Second
BootstrapTimeout = 1800 * time.Second
)

0 comments on commit 8da7488

Please sign in to comment.