Software / code / prosody
File
teal-src/util/datetime.d.tl @ 12053:03e9587fbfd2
mod_smacks: Switch storage for tracking resumption tokens
All that was a complicated way to limit the number of resumable
sessions. Let's control resource usage some other way. This leaves the
essence of mapping resumption tokens to live sessions.
This keeps resumption state across reloads.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 02 Dec 2021 14:41:19 +0100 |
| parent | 11459:86904555bffc |
| child | 12634:8cb6644ce463 |
line wrap: on
line source
-- TODO s/number/integer/ once Teal gets support for that local record lib date : function (t : integer) : string datetime : function (t : integer) : string time : function (t : integer) : string legacy : function (t : integer) : string parse : function (t : string) : integer end return lib