Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-17 00:20:09 +01:00
chore: warn when both history db and delete disk on logout are enabled (#2824)
* chore: warn when both history db and delete disk on logout are enabled * Improve message
Dieser Commit ist enthalten in:
Ursprung
2b1326ec7f
Commit
3b4e849276
@ -365,6 +365,18 @@ public class Fawe {
|
|||||||
Settings.settings().QUEUE.PARALLEL_THREADS
|
Settings.settings().QUEUE.PARALLEL_THREADS
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (Settings.settings().HISTORY.DELETE_DISK_ON_LOGOUT && Settings.settings().HISTORY.USE_DATABASE) {
|
||||||
|
LOGGER.warn("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
|
||||||
|
LOGGER.warn("!!! !!!");
|
||||||
|
LOGGER.warn("!!! Using history database whilst deleting disk history! !!!");
|
||||||
|
LOGGER.warn("!!! You will not be able to rollback edits after a user logs !!!");
|
||||||
|
LOGGER.warn("!!! out, recommended to disable delete-disk-on-logout if you !!!");
|
||||||
|
LOGGER.warn("!!! you want to have full history rollback functionality. !!!");
|
||||||
|
LOGGER.warn("!!! Disable use-database if you do not need to have rollback !!!");
|
||||||
|
LOGGER.warn("!!! functionality and wish to disable this warning. !!!");
|
||||||
|
LOGGER.warn("!!! !!!");
|
||||||
|
LOGGER.warn("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
byte[] in = new byte[0];
|
byte[] in = new byte[0];
|
||||||
byte[] compressed = LZ4Factory.fastestJavaInstance().fastCompressor().compress(in);
|
byte[] compressed = LZ4Factory.fastestJavaInstance().fastCompressor().compress(in);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren