diff --git a/plugin-server/src/worker/plugins/setup.ts b/plugin-server/src/worker/plugins/setup.ts index 4d2d2e33e8807..b54e1e2b355a7 100644 --- a/plugin-server/src/worker/plugins/setup.ts +++ b/plugin-server/src/worker/plugins/setup.ts @@ -1,4 +1,5 @@ import { Hub, StatelessVmMap } from '../../types' +import { status } from '../../utils/status' import { LazyPluginVM } from '../vm/lazy' import { loadPlugin } from './loadPlugin' import { loadPluginsFromDB } from './loadPluginsFromDB' @@ -6,6 +7,7 @@ import { loadSchedule } from './loadSchedule' import { teardownPlugins } from './teardown' export async function setupPlugins(hub: Hub): Promise { + status.info('🔁', `Loading plugin configs...`) const { plugins, pluginConfigs, pluginConfigsPerTeam } = await loadPluginsFromDB(hub) const pluginVMLoadPromises: Array> = [] const statelessVms = {} as StatelessVmMap @@ -56,4 +58,6 @@ export async function setupPlugins(hub: Hub): Promise { if (hub.capabilities.pluginScheduledTasks) { await loadSchedule(hub) } + + status.info('✅', `Loaded ${pluginConfigs.size} configs for ${plugins.size} plugins`) }