mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-20 23:52:17 +00:00
Flush storage buffer more frequently
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user