Matthew Wild <mwild1@gmail.com> [Wed, 29 Nov 2023 17:19:53 +0000] rev 13354
mod_admin_shell: Support for 'shell-command' items (global and per-host)
This should simplify adding shell commands from other modules, which will
reduce the growth of mod_admin_shell and make it easier for community modules
to expose commands too.
Matthew Wild <mwild1@gmail.com> [Wed, 29 Nov 2023 17:18:17 +0000] rev 13353
mod_admin_shell: Refactor help to data structures for extensibility
This makes it easier for commands added by other modules to add to the help
output, for example.
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 17:19:16 +0100] rev 13352
migrator: Add an escape hatch to allow arbitrary config options
Previously only SQL settings and the 'path' for internal storage could
be set, and only for SQL and internal storage.
input {
type = "whatever";
config = {
whatever_foobar = "something"
}
}
Kim Alvefur <zash@zash.se> [Mon, 27 Nov 2023 08:19:52 +0100] rev 13351
util.poll: Rename things to clarify poll(2) limits
With epoll(7), MAX_EVENTS controls how many events can be retrieved in one
epoll_wait call, while with poll(2) this MAX_WATCHED controls how many
sockets or other FDs can be watched at once.
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 18:02:13 +0100] rev 13350
mod_storage_internal: Clear archive item count cache after experimental trim
The previous count would be invalid at this point.
Should be possible to math out how many items are left, but this is left
as future work.
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 17:41:38 +0100] rev 13349
mod_blocklist: Remove weak cache (and increase default LRU cache size)
Weak tables are said to have suboptimal performance, so we might as well
get replace it with an increased default LRU cache size.
Sorry about the 'and'
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 14:35:26 +0100] rev 13348
mod_storage_internal: Close lazy-loading list abstraction after trim
Should be done here too.
Kim Alvefur <zash@zash.se> [Sun, 26 Nov 2023 14:29:08 +0100] rev 13347
mod_storage_internal: Only close lazy-loading list store abstractions
Since datamanager can fall back to the old method of loading the whole
list, which wouldn't come with a :close method.
Kim Alvefur <zash@zash.se> [Fri, 24 Nov 2023 13:41:21 +0100] rev 13346
util.startup: Use prosody. module namespace
Maybe we need some sort of lint for this?
Kim Alvefur <zash@zash.se> [Fri, 24 Nov 2023 00:31:08 +0100] rev 13345
net.http.server: Complete async waiter for non-persistent connections
Otherwise requests with Connection: close would be stuck in the async
wait that starts after the handle_request() call.
Together with the new async debugging, this makes the async thread stay
in the set of waiting runners forever, where previously it would simply
be garbage collected.