How to increase MQTT Queue size

Hello support team,
Using a Ewon Flexy 205, I want to send MQTT message to a broker. The strength of the network between the device and the broker is not good. It’s common to have a network loss of 1 to 5 minutes.
I’ve seen some example scripts to store messages, but I’m not sure how robust it is.
On another post, it’s mention the MQTT Queue Default Size is 20 messages. This corresponds to the results we obtained during our tests.
Is there a wait to increase the MQTT Queue Size ? Ex : 2000.

Thanks

MQTT Queue Default Size : RE: MQTT Basic Scripting - #5 by trevor_hms
MQTT Buffering script : https://tools.ewonsupport.biz/mqtt/program.txt

Hi Jerome,

I believe the parameter in question here is MaxInFlight, which controls the maximum number of messages retained on the client side. The default is 20, but you can increase it up to a maximum of 50 with the command MQTT "setparam", "MaxInFlight", "50". You can see the full list of parameters in section 3.53.2 of the Basic reference guide.

Best regards,
Hugh