Convert disklrucache to okio impl

* Idk whether okio's sink->outstream will cause perf loss,
  but this impl is obviously socket friendly and in maintenance
This commit is contained in:
tarsin committed 2022-06-24 21:41:55 +08:00
1 parent 8e0f5dc697
commit 3726530af9
3 files changed
+33 -1014

No files matched your search

@@ -441,6 +441,7 @@ public final class ConacoTask<V> {
receivedSize += bytesRead;
notifyProgress(bytesRead, receivedSize, length);
}
os.flush();
return true;
} catch (IOException e) {