1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

As intented

This commit is contained in:
M66B 2022-01-24 17:22:58 +01:00
parent 2c6e7fa900
commit 1b3588c84a

View file

@ -116,11 +116,12 @@ public class EntityLog {
executor.submit(new Runnable() {
@Override
public void run() {
// Check available storage space
if (!ok || (++count % LOG_DELETE_BATCH_SIZE) == 0) {
long cake = Helper.getAvailableStorageSpace();
ok = (cake < Helper.MIN_REQUIRED_SPACE);
if (!ok)
ok = false;
return;
}
try {