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
Copy file name to clipboardExpand all lines: packages/api/src/server.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ export default class Server {
46
46
47
47
asyncstart(){
48
48
construnningServers: http.Server[]=[];
49
-
if(!config.IS_DEV||!config.IS_OPAMP_ONLY){
49
+
if(!(config.IS_DEV&&!config.IS_OPAMP_ONLY)){
50
50
this.appServer=this.createAppServer();
51
51
this.appServer.keepAliveTimeout=61000;// Ensure all inactive connections are terminated by the ALB, by setting this a few seconds higher than the ALB idle timeout
52
52
this.appServer.headersTimeout=62000;// Ensure the headersTimeout is set higher than the keepAliveTimeout due to this nodejs regression bug: https://github.com/nodejs/node/issues/27363
0 commit comments