From 8130a4d9bdc0705082eb7fe94e2261c9313f8482 Mon Sep 17 00:00:00 2001 From: Alexey Sharp Date: Mon, 25 Apr 2022 17:36:42 +0100 Subject: [PATCH] Move downloadData --- cmd/downloader/downloader/grpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/downloader/downloader/grpc_server.go b/cmd/downloader/downloader/grpc_server.go index 1a30eaf2416..5bca2bafe87 100644 --- a/cmd/downloader/downloader/grpc_server.go +++ b/cmd/downloader/downloader/grpc_server.go @@ -97,8 +97,8 @@ func (s *GrpcServer) Download(ctx context.Context, request *proto_downloader.Dow } } t.AllowDataUpload() + t.AllowDataDownload() if !t.Complete.Bool() { - t.AllowDataDownload() t.DownloadAll() } }