Compare commits

..

No commits in common. "5a2136f20526802a129064e4b90b4bc579b571b6" and "32d78f556c05b287dab8001dad9a29ea582a11d4" have entirely different histories.

1 changed files with 12 additions and 25 deletions

View File

@ -166,16 +166,6 @@ namespace IRaCIS.Core.SCP.Service
await DataMaintenanceAsaync();
await AddUploadLogAsync();
}
await SendAssociationReleaseResponseAsync();
}
private async Task AddUploadLogAsync()
{
//记录监控
var _SCPImageUploadRepository = _serviceProvider.GetService<IRepository<SCPImageUpload>>();
@ -187,6 +177,10 @@ namespace IRaCIS.Core.SCP.Service
//可能是测试echo 导致记录了
await _SCPImageUploadRepository.AddAsync(_upload, _upload.FileCount > 0 ? true : false);
}
await SendAssociationReleaseResponseAsync();
}
@ -257,13 +251,6 @@ namespace IRaCIS.Core.SCP.Service
await _studyRepository.SaveChangesAndClearAllTrackingAsync();
}
else
{
//记录日志
await AddUploadLogAsync();
}
Log.Logger.Warning($"连接关闭 {exception?.Message} {exception?.InnerException?.Message}");
}