uploadRate 로직 수정

This commit is contained in:
2026-02-11 17:06:02 +09:00
parent 133ea6b1ba
commit d7e19abfc9

View File

@@ -199,9 +199,6 @@ public class UploadDto {
private String fileName;
public double getUploadRate() {
if (this.chunkTotalIndex == 0) {
return 0.0;
}
return (double) (this.chunkIndex + 1) / (this.chunkTotalIndex + 1) * 100.0;
}
}