We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7deb97d commit d48db3bCopy full SHA for d48db3b
docs/cn/install.md
@@ -186,6 +186,8 @@ log.retention.check.interval.seconds=60
186
dispatch.log.keep.hour=72
187
# 可选,动态生效,messagelog过期时间
188
messagelog.retention.hours=72
189
+# 可选,一旦设置后该参数就不允许修改,如果必须修改则需要将消息数据全部清理。该参数用于控制多久生成一个刻度的schedule log(默认一个小时一个刻度),因为QMQ会预先加载一个刻度的消息索引,每条索引32 bytes,如果延时消息量极大,则默认一个小时一个刻度过大。举例:假设延时消息每秒10000 qps,则1个小时的索引大小为: 10000 * 60 * 60 * 32 / 1024 / 1024 = 1098MB。如果比qps比这个数据更高将占用更高的内存,那么如果你的延时消息的最大延时时间不是一两年之久,则可以将这个刻度调小,比如10分钟一个刻度,则10000 qps的内存占用为: 10000 * 60 * 10 * 32 / 1024 / 1024 = 5MB,这个内存占用就小多了
190
+segment.scale.minute=60
191
```
192
193
##启动
0 commit comments