You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// router.jsmodule.exports=app=>{const{ router, controller }=app;router.get('/',controller.home.index);// add a router has a 3 seconds aysnc jobrouter.get("/test",async(ctx)=>{awaitnewPromise((resolve)=>{setTimeout(()=>{resolve(1);},3000);});ctx.body="test";})};
Version:
system: macOS 14.4.1
node: 20.12.2
"egg": "^3.17.5",
"egg-cluster": "^2.2.1",
Minimal Code Example:
npx egg-init --type simple
pid
in htopExpected: The request in step 3 has a successful response, EGG server closes after handling in transit connection.
Actually: the connection is closed immediately after the SIGTERM signal send.
The text was updated successfully, but these errors were encountered: