From aac106d37eeac41deedbc6fd4e34ef272a05e6a9 Mon Sep 17 00:00:00 2001 From: imhao183 Date: Fri, 15 May 2020 09:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- broker/config/wildfirechat.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/broker/config/wildfirechat.conf b/broker/config/wildfirechat.conf index d41e3d16..e772c03b 100755 --- a/broker/config/wildfirechat.conf +++ b/broker/config/wildfirechat.conf @@ -176,6 +176,8 @@ push.ios.server.address http://localhost:8085/ios/push #mongodb.client_uri mongodb://host1:27017,host2:27017,host3:27017/wfchat?replicaSet=myReplicaSet mongodb.client_uri mongodb://wfc:123456@localhost:27017/wfchat mongodb.database wfchat +#仅在第一次启动时会设置消息数据的过期时间,如果之后再修改将不生效。 +#如果需要修改过期时间,请修改t_messages_x和t_user_message_x的索引过期时间,修改方法请行百度 mongodb.data_expire_days 1096 #*********************************************************************