persistence in database

only maybe a little bit shitty but it works very well
still needs chunk unloading
This commit is contained in:
りき萌 2024-08-18 12:28:57 +02:00
parent 2594afcc1b
commit 70e979057c
16 changed files with 970 additions and 273 deletions

View file

@ -1,4 +1,4 @@
[wall]
[wall_broker.default_wall_settings]
# The settings below control the creation of new walls.
@ -13,7 +13,8 @@ max_sessions = 128
# The size of chunks.
# Choosing an appropriate size for chunks is a tradeoff between performance and disk space - 168 is
# chosen as a reasonable default
# chosen as a reasonable default which is just small enough to perform operations on fairly quickly
# and responsively.
chunk_size = 168
# The size of the area that can be drawn over by a brush, in pixels.
@ -21,6 +22,11 @@ chunk_size = 168
# can produce.
paint_area = 504
[wall_broker.auto_save]
# How often should modified chunks be saved to the database.
interval_seconds = 10
[haku]
# The settings below control the Haku runtime on the server side.