From 8b50d82ff48f8e900a459955ee6891122bd0d23b Mon Sep 17 00:00:00 2001 From: wayblink Date: Mon, 21 Nov 2022 11:16:38 +0800 Subject: [PATCH] Remove sleep --- core/backup_context.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/backup_context.go b/core/backup_context.go index a503ca9c..a37111db 100644 --- a/core/backup_context.go +++ b/core/backup_context.go @@ -533,8 +533,6 @@ func (b BackupContext) doCreateBackup(ctx context.Context, request *backuppb.Cre return errorResp, nil } - log.Info("sleep ......") - time.Sleep(30 * time.Second) backupInfo.BackupState.Code = backuppb.BackupTaskStateCode_BACKUP_SUCCESS // 7, write meta data output, _ := serialize(completeBackup)