gpt4 book ai didi

ejabberd - ejabberd 每个房间的最大用户数是多少?

转载 作者:行者123 更新时间:2023-12-04 17:54:13 28 4
gpt4 key购买 nike

我们正在使用 ejabberd_16.01-0_amd64.deb,我们希望将每个房间的最大用户数设置为 10000。根据文档:( https://docs.ejabberd.im/admin/configuration/#modmuc )

max_users: Number: This option defines at the service level, the maximum number of users allowed per room. It can be lowered in each room configuration but cannot be increased in individual room configuration. The default value is 200.

另一方面,

https://github.com/processone/ejabberd/blob/master/src/mod_muc_room.erl#L58

说,它也可能是 5000。

我们已经尝试过 10000,但它没有用(当然,低于 200 的值也可以)。

谁能告诉我们该怎么办?

最佳答案

好的,我们尝试将每个房间的最大用户数设置为 5000,这奏效了。

max_users: Number: This option defines at the service level, the maximum number of users allowed per room. It can be lowered in each room configuration but cannot be increased in individual room configuration. The default value is 200.

看起来,我误解了文档所说的内容:每个房间的最大用户数限制是全局设置的。它只能降低每个房间(不能增加到超过全局最大值)。

注意:我们希望服务器记录错误或至少是警告,为什么无法设置值 10000,但我们找不到任何内容。

关于ejabberd - ejabberd 每个房间的最大用户数是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41748148/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com