File tree Expand file tree Collapse file tree
ByteSync.Client/Services/Synchronizations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ public async Task UploadForRemote(SharedActionsGroup sharedActionsGroup)
9797 try
9898 {
9999 await CloseAndUploadCurrentMultiZip ( ) ;
100-
101- // await Task.Delay(3000);
102100 }
103101 catch ( Exception ex )
104102 {
@@ -112,7 +110,7 @@ public async Task UploadForRemote(SharedActionsGroup sharedActionsGroup)
112110 {
113111 await MultiZipPrepareSemaphore . WaitAsync ( ) ;
114112
115- // on crée le currentMultiUploadZip
113+ // create the currentMultiUploadZip
116114 var sharedFileDefinition = BuildSharedFileDefinition ( sharedFileType ) ;
117115
118116 _logger . LogInformation ( "Creating MultiUploadZip with id:{MultiZipId} for grouped upload (delta:{isDelta})" ,
@@ -183,7 +181,7 @@ public Task Abort()
183181 {
184182 return Task . Run ( ( ) =>
185183 {
186- // L'abandon de la synchro a été demandé, on doit libérer les ressources
184+ // The synchronization has been requested to be abandoned; we must free up resources
187185 if ( _currentMultiUploadZip != null )
188186 {
189187 try
Original file line number Diff line number Diff line change 100100 } )
101101 . Build ( ) ;
102102
103- // using (var scope = host.Services.CreateScope())
104- // {
105- // var cosmosService = scope.ServiceProvider.GetRequiredService<ICosmosDbService>();
106- // await (cosmosService as CosmosDbService)!.InitializeAsync();
107- // }
108-
109103host . Run ( ) ;
You can’t perform that action at this time.
0 commit comments