mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Verify database connection on interval (#9665)
This commit is contained in:
@@ -1887,6 +1887,11 @@ MapDatabase *ServerMap::createDatabase(
|
||||
throw BaseException(std::string("Database backend ") + name + " not supported.");
|
||||
}
|
||||
|
||||
void ServerMap::pingDatabase()
|
||||
{
|
||||
dbase->pingDatabase();
|
||||
}
|
||||
|
||||
void ServerMap::beginSave()
|
||||
{
|
||||
dbase->beginSave();
|
||||
|
Reference in New Issue
Block a user