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 #*********************************************************************