mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
As intented
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user