Mercurial > prosody-modules
annotate mod_bookmarks/mod_bookmarks.lua @ 5827:f76909ec1300
mod_http_admin_api: metrics: Filter out a value that is commonly nan at startup
The upload bytes count is typically nan at startup, which cannot legally be
encoded in JSON.
I haven't assessed whether any other metrics might emit nan under other
circumstances, but this fixes the most visible issue right now.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 13 Jan 2024 12:03:15 +0000 |
parents | cbe71ecb4677 |
children |
rev | line source |
---|---|
4886
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 --% conflicts: mod_bookmarks |
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:log("info", "mod_bookmarks has been deprecated, now loading mod_bookmarks2") |
cbe71ecb4677
mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 module:depends("bookmarks2") |