Handle discards
This commit is contained in:
parent
42fb44f9ed
commit
351a573d6b
@ -18,6 +18,7 @@
|
||||
|
||||
package org.warp.filesponge;
|
||||
|
||||
import it.cavallium.dbengine.database.LLUtils;
|
||||
import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -116,7 +117,7 @@ public class FileSponge implements URLsHandler {
|
||||
)
|
||||
.distinct(DataBlock::getId)
|
||||
|
||||
.doOnDiscard(DataBlock.class, DataBlock::close);
|
||||
.doOnDiscard(DataBlock.class, LLUtils::onDiscard);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user