Skip to content

Commit

Permalink
fix: increase upstream timeout as default is too short
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi committed Sep 19, 2021
1 parent 752f85b commit 5b6ad85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/icm-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ if (logging) {
});
}

app.use(proxy(process.env.ICM_BASE_URL));
app.use(
proxy(process.env.ICM_BASE_URL, {
timeout: 20000,
})
);

app.listen(10000, () => {
console.log('ICM cache listening');
Expand Down

1 comment on commit 5b6ad85

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Azure Demo Servers are available:

Please sign in to comment.