Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Disconnect message delayed

Rajeev Kumar <rajeev_ku@xxxxxxx> wrote:
> Hi,
> I am using mosquitto 1.4.8 as mqtt broker and paho client
> (default script) to initiate connection from remote to queuing
> purpose. I am removing network cable of remote server (from
> where connection initiated), in LWT, keepalive time is - 20
> sec, but at broker, disconnect message is delivered a bit
> delay.

At most 1.5 times the keepalive time. See spec

> Is there any way to configure wait time at the broker end only
> so that it won't take long time to trigger disconnect time.

If you can find _any_ method of knowing that a cable has been
pulled, write it up and be famous. This is not a new problem :)

Karl P

Attachment: signature.asc
Description: OpenPGP Digital Signature

Back to the top