fix(gtm): Increase server timeout to 600s and add missing volume mounts to prevent 502 errors
This commit is contained in:
@@ -73,6 +73,11 @@ app.get('*', (req, res) => {
|
||||
});
|
||||
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`GTM Architect server listening at http://localhost:${port}`);
|
||||
const server = app.listen(port, () => {
|
||||
console.log(`GTM Architect server listening at http://localhost:${port} (Timeout: 600s)`);
|
||||
});
|
||||
|
||||
// Prevent 502 Bad Gateway by increasing Node.js server timeouts to match Nginx
|
||||
server.setTimeout(600000);
|
||||
server.keepAliveTimeout = 610000;
|
||||
server.headersTimeout = 620000;
|
||||
|
||||
Reference in New Issue
Block a user