db 自动清除过期历史消息数据

This commit is contained in:
heavyrain2012
2021-01-23 18:01:28 +08:00
parent e5a4aa4741
commit 7923a3e0c4
6 changed files with 365 additions and 140 deletions
@@ -436,6 +436,7 @@ public class Server {
System.out.println("Server will flush data to db before shutting down, please wait 5 seconds!");
LOG.info("Unbinding server from the configured ports");
m_shutdowning = true;
DBUtil.SystemExiting = true;
m_acceptor.close();
LOG.trace("Stopping MQTT protocol processor");