头图

After executing the code to line 166, after handing the control logic to expressEngine, after clicking F8, the following three different color code blocks may be called:

  1. Green code block

Indicates that the time interval specified by timeout has arrived. timeout: Time in milliseconds to wait for SSR rendering to happen, the timeout of waiting for the start of SSR rendering, not the duration of SSR rendering.

  1. Yellow code block

The SSR execution time is too long and has not been completed. If maxRenderTime is exceeded, the concurrency slot will be forcibly released, allowing new requests to be responded to by the SSR. However, for timed out SSR service requests, the requested resources are not released, which may cause memory leaks. The default time is 5 minutes.

  1. Red code block

If the execution reaches here, and maxRenderTimeout is not undefined, it means that the normal SSR rendering request is executed successfully.

More original articles by Jerry, all in: "Wang Zixi":


注销
1k 声望1.6k 粉丝

invalid