sinkhaha

Results 15 comments of sinkhaha

可利用[egg的生命周期](https://www.eggjs.org/zh-CN/basics/app-start)函数configWillLoad,在启动前动态修改数据库配置

It seems that the problem is Nest.js, not typeorm

1. 可以这样启动多进程模式,也是`egg-scripts` 默认的启动方式,`options` 参数可参考[源码](https://github.com/eggjs/egg-cluster/blob/master/lib/master.js#L32-L40) ```js const { startCluster } = require('egg'); const options = { title: 'test', workers: 1, baseDir: '项目路径', framework: 'egg库路径' } startCluster(options); ``` 2. 也可以试试只启动app单进程模式 ```js const...

这种跟框架无关,写个请求中间件记录调用日志就可以

这些日志只能看出app worker进程失联了,有没有可以复现的例子

这里只看能看出服务启动不起来,能否提供更多的日志