diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-14 20:14:58 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-14 20:14:58 +0000 |
commit | 1a265168a17cc7ff4a6ec0f5f4814d661c411202 (patch) | |
tree | 4066547901289553dc5a3648c97195977f962373 /conf-tmpl | |
parent | 5a6f4e191743aca6fe6f4bbb3e371df4fe9a7100 (diff) | |
download | hercules-1a265168a17cc7ff4a6ec0f5f4814d661c411202.tar.gz hercules-1a265168a17cc7ff4a6ec0f5f4814d661c411202.tar.bz2 hercules-1a265168a17cc7ff4a6ec0f5f4814d661c411202.tar.xz hercules-1a265168a17cc7ff4a6ec0f5f4814d661c411202.zip |
- Removed support for negative autosave intervals, instead added a minsave_interval setting which specifies which is the minimum time between character saves. Default to 100ms (map_athena.conf).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8280 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf-tmpl')
-rw-r--r-- | conf-tmpl/Changelog.txt | 3 | ||||
-rw-r--r-- | conf-tmpl/map_athena.conf | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/conf-tmpl/Changelog.txt b/conf-tmpl/Changelog.txt index 541b729f1..f2e5fc9c0 100644 --- a/conf-tmpl/Changelog.txt +++ b/conf-tmpl/Changelog.txt @@ -1,6 +1,9 @@ Date Added
2006/08/14
+ * Removed support for negative autosave intervals, instead added a
+ minsave_interval setting which specifies which is the minimum time between
+ character saves. Default to 100ms (map_athena.conf). [Skotlex]
* Modified emergency_call setting to allow for more specific configuration
(woe/non-woe, gvg-grounds/non-gvg-grounds, disable from nowarpto maps), see
skill.conf for details. [Skotlex]
diff --git a/conf-tmpl/map_athena.conf b/conf-tmpl/map_athena.conf index a3ee68ceb..e74dd1eee 100644 --- a/conf-tmpl/map_athena.conf +++ b/conf-tmpl/map_athena.conf @@ -93,14 +93,16 @@ enable_spy: no console: off
// Database autosave time
-// When positive, all characters are saved on this time in seconds (example:
+// 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 seconds (example: if -1, a
-// character will be saved once a second, regardless of number of players
-// online).
autosave_time: 300
+// Min database save intervals (in ms)
+// Prevent saving characters faster than at this rate (prevents char-server
+// save-load getting too high as character-count increases)
+minsave_time: 100
+
// Apart from the autosave_time, players will also get saved when involved
// in the following (add as needed):
// 1: after every successful trade
|