app-server: Unify config changes handling a bit (#16961)

This commit is contained in:
Ruslan Nigmatullin
2026-04-06 18:04:00 -07:00
committed by GitHub
parent 0de7662dab
commit b34a3a6e92
2 changed files with 17 additions and 23 deletions

View File

@@ -476,7 +476,11 @@ pub(crate) struct CodexMessageProcessorArgs {
}
impl CodexMessageProcessor {
pub(crate) fn clear_plugin_related_caches(&self) {
pub(crate) fn handle_config_mutation(&self) {
self.clear_plugin_related_caches();
}
fn clear_plugin_related_caches(&self) {
self.thread_manager.plugins_manager().clear_cache();
self.thread_manager.skills_manager().clear_cache();
}