Don't reload Sponge persisted subjects when a save is pending
This commit is contained in:
@@ -34,7 +34,7 @@ public class UpdateTaskBuffer extends BufferedRequest<Void> {
|
||||
private final LuckPermsPlugin plugin;
|
||||
|
||||
public UpdateTaskBuffer(LuckPermsPlugin plugin) {
|
||||
super(250L, TimeUnit.MILLISECONDS, plugin.getBootstrap().getScheduler());
|
||||
super(500L, TimeUnit.MILLISECONDS, plugin.getBootstrap().getScheduler());
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
|
||||
@@ -54,11 +54,6 @@ public interface PhasedStorage extends Storage {
|
||||
new Class[]{PhasedStorage.class},
|
||||
(proxy, method, args) -> {
|
||||
|
||||
// provide implementation of #noBuffer
|
||||
if (method.getName().equals("noBuffer")) {
|
||||
return delegate;
|
||||
}
|
||||
|
||||
// direct delegation
|
||||
switch (method.getName()) {
|
||||
case "getDao":
|
||||
|
||||
Reference in New Issue
Block a user