Skip to content

Commit

Permalink
处理内存溢出
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Nov 13, 2024
1 parent 1bdd336 commit 3ae13cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ani/rss/util/AlistUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void upload(TorrentsInfo torrentsInfo) {
return;
}
log.info("上传 {} ==> {}", file, finalFilePath);
try (InputStream inputStream = FileUtil.getInputStream(file)) {
try {
String url = alistHost;
if (url.endsWith("/")) {
url = url.substring(0, url.length() - 1);
Expand Down

0 comments on commit 3ae13cb

Please sign in to comment.