From de16ba6eecbaaa5808e31e8122e10c7450e4d03e Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Wed, 23 Oct 2013 19:29:05 -0400 Subject: [PATCH] Re-enable built in auto-save. Fixes BUKKIT-4800 When Minecraft first introduced an auto-save feature, we were taken by surprise by how much of an impact it actually had on the performance of the server. After investigating the potential causes of the significant slow-downs we saw at the time, we came to the conclusion that it was a combination of the auto-save interval being incredibly frequent and servers already having an auto-save solution that was conflicting with the newly added built-in one. Since we noticed that most servers already had their own auto-save solution, we decided to completely disable the built in auto-save by default. In hindsight, however, we were so happy that we discovered and squashed the cause of the performance issues that we forgot to consider the future and, as a result, some servers have unfortunately been caught by surprise when they ran their servers without any auto-save plugins. Without the auto-save plugin conflict, however, Minecraft's default save interval of 45 seconds is not suitable for the types of servers that run Bukkit, to the point where it was negatively impacting performance. As such, we've decided to re-enable the built in auto-save at an interval of 5 minutes for newly created servers. --- src/main/resources/configurations/bukkit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/configurations/bukkit.yml b/src/main/resources/configurations/bukkit.yml index 61a95e3373..60a894f664 100644 --- a/src/main/resources/configurations/bukkit.yml +++ b/src/main/resources/configurations/bukkit.yml @@ -36,7 +36,7 @@ chunk-gc: ticks-per: animal-spawns: 400 monster-spawns: 1 - autosave: 0 + autosave: 6000 auto-updater: enabled: true on-broken: [warn-console, warn-ops]