我是ejabberd的新手。我的问题是,当wifi连接突然丢失时,消息会丢失几秒钟。根据{{3}}我启用了Stream Management并将resend_on_timeout设置为true并使用ping_interval启用了mod_ping:10但仍然缺少消息。
此处端口5222设置为port: 5222
module: ejabberd_c2s
certfile: "/home/salu/ejabberd-16.09/conf/server.pem"
starttls: true
stream_management: true
resend_on_timeout: true
## To enforce TLS encryption for client connections,
## use this instead of the "starttls" option:
## starttls_required: true
##
## Custom OpenSSL options
##
protocol_options:
- "no_sslv3"
## - "no_tlsv1"
max_stanza_size: 65536
shaper: c2s_shaper
access: c2s
和mod_ping设置
mod_ping:
send_pings: true
ping_interval: 10
timeout_action: kill
谁能说出问题是什么我该如何解决?