Skip to content

Automatically rehash when modules change conf#517

Open
skizzerz wants to merge 1 commit intosolanum-ircd:mainfrom
skizzerz:extension-config-rehash
Open

Automatically rehash when modules change conf#517
skizzerz wants to merge 1 commit intosolanum-ircd:mainfrom
skizzerz:extension-config-rehash

Conversation

@skizzerz
Copy link
Copy Markdown
Contributor

When loading a module that modifies config (add/remove conf items or top conf sections), we now queue a rehash operation so that new config can be immediately applied. A new rb_defer_once() function was added to deduplicate these rehash requests so that at most one rehash will occur regardless of how many modules change conf.

When loading a module that modifies config (add/remove conf items or top
conf sections), we now queue a rehash operation so that new config can
be immediately applied. A new rb_defer_once() function was added to
deduplicate these rehash requests so that at most one rehash will occur
regardless of how many modules change conf.
@skizzerz skizzerz force-pushed the extension-config-rehash branch from 23d0c7d to d65de9a Compare April 11, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant