From a4eb64edd5099bb30de5c13d4f05ef4acd4159fe Mon Sep 17 00:00:00 2001 From: heavyrian2012 Date: Thu, 20 Oct 2022 15:47:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distribution/src/main/resources/wildfirechat.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/distribution/src/main/resources/wildfirechat.conf b/distribution/src/main/resources/wildfirechat.conf index 1dffc245..4c3dc346 100755 --- a/distribution/src/main/resources/wildfirechat.conf +++ b/distribution/src/main/resources/wildfirechat.conf @@ -31,6 +31,7 @@ local_port 80 ## 是否使用内置DB。0使用mysql;1使用h2db。 ## MySQL需要把事物隔离级别改成"Read committed",使用命令来修改"set global transaction_isolation='read-committed';",其他数据库默认已经是这个级别不用修改 +## 如果使用MySQL,请在c3p0.xml文件中配置JDBC信息。 embed.db 1 ## 是否自动清理历史消息记录,当为true时,IM服务会定时扫描t_messages_x和t_user_messages_x表,清除掉3年前的历史消息。