Added cyclic garbage collection for a defined interval. Defaults to 24h

This commit is contained in:
Sascha L. Teichmann
2014-08-06 10:52:37 +02:00
parent 66b85f199c
commit e38d8eb9fc
2 changed files with 34 additions and 9 deletions

4
README
View File

@ -51,7 +51,9 @@ Usage:
-cache=32: cache size in MB # Cache size for LevelDB
-driver="leveldb": type of database (leveldb, sqlite)
-host="": host to bind
-gc-duration="24h": Duration between forced GCs.
-port=6379: port to bind
-version=false: Print version and exit.
To use mtredisalize with your particular world you have to modify the
world.mt of the world.
@ -75,4 +77,4 @@ The mandatory path is the path to the database file: map.sqlite in case
of SQLite3 and the directoy map.db in case of LevelDB right beside the world.mt file.
This is Free Software under the terms of the MIT license. See LICENSE file for details.
(c) 2014 by Sascha L. Teichmann
(c) 2014 by Sascha L. Teichmann