mirror of
https://github.com/cool-team-official/cool-admin-midway-packages.git
synced 2025-12-10 21:32:48 +00:00
新增 onServerReadyOnce 事件,Cluster模式下也只触发一次
This commit is contained in:
parent
bb52aea406
commit
d7721758a5
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cool-midway/core",
|
"name": "@cool-midway/core",
|
||||||
"version": "8.0.6",
|
"version": "8.0.7",
|
||||||
"description": "cool-admin midway core",
|
"description": "cool-admin midway core",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "index.d.ts",
|
"typings": "index.d.ts",
|
||||||
|
|||||||
@ -87,6 +87,7 @@ export class CoolConfiguration implements ILifeCycle {
|
|||||||
// 实体与路径
|
// 实体与路径
|
||||||
const eps: CoolEps = await container.getAsync(CoolEps);
|
const eps: CoolEps = await container.getAsync(CoolEps);
|
||||||
eps.init();
|
eps.init();
|
||||||
|
await this.eventInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user