1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Verify database connection on interval (#9665)

This commit is contained in:
Loïc Blot 2020-04-15 08:01:11 +02:00 committed by GitHub
parent 62c62f3829
commit 5c588f89e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 65 additions and 33 deletions

View file

@ -385,6 +385,7 @@ public:
Database functions
*/
static MapDatabase *createDatabase(const std::string &name, const std::string &savedir, Settings &conf);
void pingDatabase();
// Call these before and after saving of blocks
void beginSave();