Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: config example for mqtt session #2866

Open
wants to merge 2 commits into
base: release-5.9
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions en_US/configuration/mqtt.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ This section introduces how to configure sessions.
**Example code:**

```bash
session {
mqtt {
max_subscriptions = infinity
upgrade_qos = false
max_inflight = 32
Expand All @@ -130,17 +130,17 @@ session {
mqueue_priorities = disabled
mqueue_default_priority = lowest
mqueue_store_qos0 = true
force_shutdown {
max_message_queue_len = 1000
max_heap_size = 32MB
}

force_gc {
count = 16000
bytes = 16MB
}
}
}

force_shutdown {
max_mailbox_size = 1000
max_heap_size = 32MB
}

force_gc {
count = 16000
bytes = 16MB
}
```

Where,
Expand Down
24 changes: 12 additions & 12 deletions zh_CN/configuration/mqtt.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ $$
**示例代码:**

```bash
session {
mqtt {
max_subscriptions = infinity
upgrade_qos = false
max_inflight = 32
Expand All @@ -129,17 +129,17 @@ session {
mqueue_priorities = disabled
mqueue_default_priority = lowest
mqueue_store_qos0 = true
force_shutdown {
max_message_queue_len = 1000
max_heap_size = 32MB
}

force_gc {
count = 16000
bytes = 16MB
}
}
}

force_shutdown {
max_mailbox_size = 1000
max_heap_size = 32MB
}

force_gc {
count = 16000
bytes = 16MB
}
```

其中,
Expand Down