Skip to main content

sync

Function sync 

Source
pub async fn sync(rt: &Runtime, cfg: Arc<Config>)
Expand description

Go’s startup and reload sequence (syncPluginRuntimeConfigForConfig and RefreshPluginManagementRoutes): apply the config, register the client-key and plugin frontend auth providers, then rebuild the plugin management routes around the built-in ones, then register plugin models and executors (syncPluginModelRuntime). Go runs that last step only once its listener is up; here it completes before serving.