mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
As intented
This commit is contained in:
parent
2c6e7fa900
commit
1b3588c84a
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue