mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Flush storage buffer more frequently
This commit is contained in:
parent
90afd3c3ed
commit
845367e847
@ -59,7 +59,7 @@ import java.util.function.Supplier;
|
||||
public class AbstractStorage implements Storage {
|
||||
public static Storage wrap(LuckPermsPlugin plugin, AbstractBacking backing) {
|
||||
BufferedOutputStorage bufferedDs = BufferedOutputStorage.wrap(PhasedStorage.wrap(new AbstractStorage(plugin, backing)), 1000L);
|
||||
plugin.getScheduler().asyncRepeating(bufferedDs, 10L);
|
||||
plugin.getScheduler().asyncRepeating(bufferedDs, 5L);
|
||||
return bufferedDs;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user