Commit b4d7f667 authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

Raise the timeout limit for slow banking modules;

parent 45b56b56
......@@ -21,6 +21,11 @@ let application = (options = {}, callback) => {
if (err) {
return log.error(`Error when starting americano: ${ err }`);
}
// Raise the timeout limit, since some banking modules can be quite
// long at fetching new operations. Time is in milliseconds.
server.timeout = 5 * 60 * 1000;
require('./init')(app, server, callback);
});
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment