server api时间戳检查开关

This commit is contained in:
heavyrain.lee
2019-05-20 19:33:22 +08:00
parent 59add35703
commit f655f519d0
4 changed files with 19 additions and 2 deletions
@@ -112,6 +112,8 @@ public class Server {
int httpAdminPort = Integer.parseInt(config.getProperty(BrokerConstants.HTTP_ADMIN_PORT));
AdminAction.setSecretKey(config.getProperty(HTTP_SERVER_SECRET_KEY));
AdminAction.setNoCheckTime(config.getProperty(HTTP_SERVER_API_NO_CHECK_TIME));
final LoServer httpServer = new LoServer(httpLocalPort, httpAdminPort, instance.m_processor.getMessagesStore(), instance.m_store.sessionsStore());
try {
httpServer.start();