summaryrefslogtreecommitdiff
path: root/conf-tmpl
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 17:05:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 17:05:48 +0000
commit0318763bacdcd0f521ef61f837f50ddb9483a434 (patch)
tree9c9b2605b677093a3363da602f4fd392c4fa68bb /conf-tmpl
parent81fe0ffc594681ce2fe497b6e23bcc9005ec87b9 (diff)
downloadhercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.gz
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.bz2
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.tar.xz
hercules-0318763bacdcd0f521ef61f837f50ddb9483a434.zip
- Changed the default save interval to 5 minutes. Added support for specifying fixed save-intervals by using negative values. EG:
- Save interval set to 300 (5 minutes): all characters will be saved in equal time-slots, so that everyone is saved every 5 minutes regardless of number of players online. - Save interval set to -1000 (1000 ms): One character will be saved every second, regardless of amount of characters online. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7657 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl')
-rw-r--r--conf-tmpl/map_athena.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/conf-tmpl/map_athena.conf b/conf-tmpl/map_athena.conf
index efc9833a1..18dee1518 100644
--- a/conf-tmpl/map_athena.conf
+++ b/conf-tmpl/map_athena.conf
@@ -92,8 +92,14 @@ enable_spy: no
// This prevents usage of >& log.file
console: off
-// Database autosave time, in seconds.
-autosave_time: 60
+// Database autosave time
+// When positive, all characters are saved on this time in seconds (example:
+// autosave of 60 secs with 60 characters online -> one char is saved every
+// second)
+// When negative, the timeslot is constant, in ms (example: if -1000, a
+// character will be saved once a second, regardless of number of players
+// online).
+autosave_time: 300
// Apart from the autosave_time, players will also get saved when involved
// in the following (add as needed):