[API] 파일 상태 조회시 취소 로직 삭제 취소는 스케줄러에서 하기로
This commit is contained in:
@@ -179,6 +179,7 @@ public class FileService {
|
||||
int percent = (int) parseLong(map.get("percent"));
|
||||
String updatedAt = (String) map.getOrDefault("updatedAt", "");
|
||||
|
||||
/*
|
||||
if (isStaleUploading(status, updatedAt)) {
|
||||
status = "CANCELED";
|
||||
updatedAt = Instant.now().toString();
|
||||
@@ -187,6 +188,7 @@ public class FileService {
|
||||
fileMapper.updateFileDetailCanceledByFileUuid(fileUuid);
|
||||
fileMapper.updateFileMasterAggregateByFileUuid(fileUuid);
|
||||
}
|
||||
*/
|
||||
|
||||
uploadStatusDto.setFileUuid(fileUuid);
|
||||
uploadStatusDto.setStatus(status);
|
||||
|
||||
Reference in New Issue
Block a user