mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 21:27:44 +01:00
Removed 'web.github.flush-data-to-files' from config
This commit is contained in:
parent
aebbbabb5c
commit
f5df341212
@ -184,13 +184,6 @@ public class Settings implements DataObject {
|
||||
@ConfigEntry(path = "web.github.connection-interval", since = "1.5.0")
|
||||
private int githubConnectionInterval = 60;
|
||||
|
||||
@ConfigComment("Toggle whether the downloaded data should be flushed to files.")
|
||||
@ConfigComment("It helps to prevent previously downloaded data being lost due to a more recent connection that failed")
|
||||
@ConfigComment("to connect to the GitHub API.")
|
||||
@ConfigComment("Such files are stored in JSON format and do not usually take up more than a few kilobytes of disk space each.")
|
||||
@ConfigEntry(path = "web.github.flush-data-to-files", since = "1.5.0")
|
||||
private boolean githubFlushDataToFiles = true;
|
||||
|
||||
@ConfigEntry(path = "web.updater.check-updates.bentobox", since = "1.3.0", hidden = true)
|
||||
private boolean checkBentoBoxUpdates = true;
|
||||
|
||||
@ -490,14 +483,6 @@ public class Settings implements DataObject {
|
||||
this.githubConnectionInterval = githubConnectionInterval;
|
||||
}
|
||||
|
||||
public boolean isGithubFlushDataToFiles() {
|
||||
return githubFlushDataToFiles;
|
||||
}
|
||||
|
||||
public void setGithubFlushDataToFiles(boolean githubFlushDataToFiles) {
|
||||
this.githubFlushDataToFiles = githubFlushDataToFiles;
|
||||
}
|
||||
|
||||
public boolean isCheckBentoBoxUpdates() {
|
||||
return checkBentoBoxUpdates;
|
||||
}
|
||||
|
@ -97,11 +97,5 @@ web:
|
||||
# this value greater than 15 minutes.
|
||||
# Setting this to 0 will make BentoBox download data only at startup.
|
||||
# Added since 1.5.0.
|
||||
connection-interval: 60
|
||||
# Toggle whether the downloaded data should be flushed to files.
|
||||
# It helps to prevent previously downloaded data being lost due to a more recent connection that failed
|
||||
# to connect to the GitHub API.
|
||||
# Such files are stored in JSON format and do not usually take up more than a few kilobytes of disk space each.
|
||||
# Added since 1.5.0.
|
||||
flush-data-to-files: true
|
||||
connection-interval: 10
|
||||
uniqueId: config
|
||||
|
Loading…
Reference in New Issue
Block a user