sinkhaha
sinkhaha
可以配置下egg-development插件不启动,这样就不会热更新
可利用[egg的生命周期](https://www.eggjs.org/zh-CN/basics/app-start)函数configWillLoad,在启动前动态修改数据库配置
cc @bnoordhuis
Can this PR be merged
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...
controller是正常的吗,controller位置会不会搞错了,没按约定的目录形式导致没加载到controller
这种跟框架无关,写个请求中间件记录调用日志就可以
这些日志只能看出app worker进程失联了,有没有可以复现的例子
这里只看能看出服务启动不起来,能否提供更多的日志