mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-06-10 15:37:28 +00:00
fix: 修复 CacheManager.updateTotalByField 中 getShareKeyTotal 缺少 onFailure 导致 Promise 永不完成
This commit is contained in:
@@ -165,6 +165,9 @@ public class CacheManager {
|
|||||||
promise.fail(e);
|
promise.fail(e);
|
||||||
LOGGER.error("updateTotalByField: ", e);
|
LOGGER.error("updateTotalByField: ", e);
|
||||||
});
|
});
|
||||||
|
}).onFailure(e -> {
|
||||||
|
promise.fail(e);
|
||||||
|
LOGGER.error("getShareKeyTotal in updateTotalByField: ", e);
|
||||||
});
|
});
|
||||||
return promise.future();
|
return promise.future();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user