allow schedule creating/deleting tablet to do restore

This commit is contained in:
hamstersox
2023-03-16 13:41:10 +00:00
committed by ob-robot
parent 842ac01444
commit 77f3afb799
3 changed files with 5 additions and 9 deletions

View File

@ -103,7 +103,7 @@ int ObPhysicalRestoreTenantExecutor::execute(
int ObPhysicalRestoreTenantExecutor::sync_wait_tenant_created_(ObExecContext &ctx, const ObString &tenant_name)
{
int ret = OB_SUCCESS;
const int64_t timeout = 3 * 60 * 1000 * 1000; // 3min
const int64_t timeout = 10 * 60 * 1000 * 1000; // 10min
const int64_t abs_timeout = ObTimeUtility::current_time() + timeout;
const int64_t cur_time_us = ObTimeUtility::current_time();
ObTimeoutCtx timeout_ctx;