Skip to content

Node.js based forum software built for the modern web

fix: clear all locks on restart

Barış Soner Uşaklı9834f72fc710
diff --git a/src/start.js b/src/start.js
index a0640287fb..616d59e74c 100644
--- a/src/start.js
+++ b/src/start.js
@@ -38,6 +38,7 @@ start.start = async function () {
require('./notifications').startJobs();
require('./user').startJobs();
require('./plugins').startJobs();
+ await db.delete('locks');
}
await webserver.listen();