Skip to content

Commit

Permalink
Remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
wayblink committed Nov 21, 2022
1 parent 46cb692 commit 8b50d82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/backup_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b50d82

Please sign in to comment.