emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.64k stars 428 forks source link

feat(cli): config support max reconnect times #1671

Closed ysfscream closed 1 month ago

ysfscream commented 1 month ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Only can set the max-reconnect-times in the CLI options

What is the new behavior?

image

Please describe the new behavior or provide screenshots.

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information