Software /
code /
prosody
Changeset
12038:4e54334febc1
mod_smacks: Include reason for destroying session on hibernation timeout
To aid in debugging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 12 Dec 2021 18:38:40 +0100 |
parents | 12037:82f6a0b0a425 |
children | 12039:e0a8c5b1ab4f |
files | plugins/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_smacks.lua Sat Dec 11 20:58:09 2021 +0100 +++ b/plugins/mod_smacks.lua Sun Dec 12 18:38:40 2021 +0100 @@ -498,7 +498,7 @@ h = session.handled_stanza_count, }); session.resumption_token = nil; - sessionmanager.destroy_session(session); + sessionmanager.destroy_session(session, "Hibernating too long"); else session.log("debug", "Session resumed before hibernation timeout, all is well") end