Mercurial > prosody-modules
view mod_s2s_idle_timeout/README.markdown @ 3568:6b3181fe5617
mod_auth_token: Timezone fix for TOTP checking
luatz.time() returns milliseconds since epoch which is in UTC time, so we don't
need to convert to UTC with gmtime.
By calling gmtime, TOTP validation was failing when this module wasn't running
on machine set to UTC time.
author | JC Brand <jc@opkode.com> |
---|---|
date | Thu, 02 May 2019 11:07:27 +0200 |
parents | 4d73a1a6ba68 |
children |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'Close idle server-to-server connections' ... Introduction ============ Some people find it preferable to close server-to-server connections after they have been silent for a while. Configuration ============= ...is trivial. The default timeout is 300 seconds (5 minutes). To change this simply put in the config: s2s_idle_timeout = 60 -- or any other number of seconds Compatibility ============= ----- ------- 0.6 Works 0.7 Works ----- -------