Mercurial > prosody-modules
view mod_file_management/README.markdown @ 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 | d43623bdf91b |
children | 694b62d8a82f |
line wrap: on
line source
--- description: File management for uploaded files labels: 'Stage-Alpha' --- Introduction ============ This module exposes ad-hoc commands [XEP-0050] for listing uploaded files, and later for managing them. Configuration ============= This module depends on mod\_http\_upload, and exposes ad-hoc commands for each operation a user might do on their uploaded files. The module can be added to the `modules_enabled` field on a host on which mod\_http\_upload is loaded. Compatibility ============= Works with Prosody trunk at least.