mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-11-29 08:37:00 +00:00
fix: 修复 CacheManager.updateTotalByField 中 getShareKeyTotal 缺少 onFailure 导致 Promise 永不完成
This commit is contained in:
1 parent
a664ae3a56
commit
46e9999e4c
1 file changed
+3
@@ -165,6 +165,9 @@ public class CacheManager {
|
||||
promise.fail(e);
|
||||
LOGGER.error("updateTotalByField: ", e);
|
||||
});
|
||||
}).onFailure(e -> {
|
||||
promise.fail(e);
|
||||
LOGGER.error("getShareKeyTotal in updateTotalByField: ", e);
|
||||
});
|
||||
return promise.future();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user