summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-15 08:01:11 +0200
committerGitHub <noreply@github.com>2020-04-15 08:01:11 +0200
commit5c588f89e79e02cba392abe3d00688772321f88b (patch)
treef88ba42459e55fa577668054fb06803af928f7d1 /src/map.h
parent62c62f382984bd1a6f5cd7c6edb00453ff758f9b (diff)
downloadminetest-5c588f89e79e02cba392abe3d00688772321f88b.tar.gz
minetest-5c588f89e79e02cba392abe3d00688772321f88b.tar.bz2
minetest-5c588f89e79e02cba392abe3d00688772321f88b.zip
Verify database connection on interval (#9665)
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index da55fb432..ff6b20c4f 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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();