SSR optimization engine option 代码:

const ngExpressEngine = NgExpressEngineDecorator.get(engine, { timeout: 9000, concurrency: 1,   forcedSsrTimeout:90000,  maxRenderTime:1000,  cache: true, cacheSize: 10,  renderingStrategyResolver: (req) => RenderingStrategy.DEFAULT});

(1) 首先是 MaxRenderTimeout 超时达到:

显示 log:

而后是:

最初:

留神,这里的 log 不会打印到管制台上:

这两个 timeout 值,谁的数值大,则谁对应的 timeout callback 就会后执行。

更多Jerry的原创文章,尽在:"汪子熙":