Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
5dfb2db6
Commit
5dfb2db6
authored
May 11, 2021
by
Diego Molteni
Browse files
updated service timeouts
parent
8772dd75
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/server.ts
View file @
5dfb2db6
...
...
@@ -161,15 +161,17 @@ export class Server {
// tslint:disable-next-line
console
.
log
(
`- Server is listening on port
${
this
.
port
}
...`
);
});
this
.
httpsServer
.
keepAliveTimeout
=
65
*
1000
;
this
.
httpsServer
.
headersTimeout
=
66
*
1000
;
this
.
httpServer
.
setTimeout
(
610000
);
this
.
httpsServer
.
keepAliveTimeout
=
610
*
1000
;
this
.
httpsServer
.
headersTimeout
=
611
*
1000
;
}
else
{
this
.
httpServer
=
this
.
app
.
listen
(
this
.
port
,
()
=>
{
// tslint:disable-next-line
console
.
log
(
`- Server is listening on port
${
this
.
port
}
...`
);
});
this
.
httpServer
.
keepAliveTimeout
=
65
*
1000
;
this
.
httpServer
.
headersTimeout
=
66
*
1000
;
this
.
httpServer
.
setTimeout
(
610000
);
this
.
httpsServer
.
keepAliveTimeout
=
610
*
1000
;
this
.
httpsServer
.
headersTimeout
=
611
*
1000
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment