Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ modules:
name: incidents-mtx-srv # must be used in xs-app.json as well
url: ~{srv-url}
forwardAuthToken: true
timeout: 3600000
- name: mtx-api
group: destinations
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ cds.once('bootstrap', async (app) => {
// }
});

cds.once('listening', ({ server }) => {
// Increase timeout to 60 minutes (3600000ms)
server.requestTimeout = 3600000; // 60 minutes in milliseconds
});

module.exports = cds.server;
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ modules:
name: incidents-mtx-srv # must be used in xs-app.json as well
url: ~{srv-url}
forwardAuthToken: true
timeout: 3600000
- name: mtx-api
group: destinations
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ cds.once('bootstrap', async (app) => {
// }
});

cds.once('listening', ({ server }) => {
// Increase timeout to 60 minutes (3600000ms)
server.requestTimeout = 3600000; // 60 minutes in milliseconds
});

module.exports = cds.server;
Loading