Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Configuration

Mihou edited this page Jun 22, 2021 · 2 revisions

📝 Configuration

Configuration of RoseDB is straightforward, here is an example of a configuration file (it is on JSON format).

FIELD TYPE DESCRIPTION DEFAULT VALUE
cores integer The number of cores the application should use. 1
maxTextMessageBufferSizeMB integer The maximum message buffer size for each message (request) received (MB) 5
maxTextMessageSizeMB integer The maximum text (message/request) size to receive (MB) 5
port integer The port that RoseDB should use. 5995
versioning boolean Whether RoseDB should save a backup version for all items that are modified. (Recommended) true
preload boolean Whether to preload all items that are saved on the database. (Recommended) true
updateChecker boolean Whether to check for RoseDB updates from the maintainer's server. (Recommended) true
directory string The exact directory folder where RoseDB will save all the data. running location of the jar
heartbeatIntervalSeconds integer The interval seconds of when the server should send a heartbeat packet to all connections. 30
loggingLevel string The minimum level of which RoseDB should log (recommended at INFO for performance), options: INFO, WARNING, DEBUG, ERROR. INFO
Clone this wiki locally