Marauroa Database Structure: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Kymara
Line 187: Line 187:


== Storing objects in the database ==
== Storing objects in the database ==
Objects are stored in the database to save their state. This is an expansive operation, so it is only done every 10 minutes or on special events (like logout).
Objects are stored in the database to save their state. This is an expensive operation, so it is only done every 10 minutes or on special events (like logout).


This decision is made in RPManager. It calculates how often an object has to be stored.
This decision is made in RPManager. It calculates how often an object has to be stored.