Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jan
kresus
Commits
b4d7f667
Commit
b4d7f667
authored
Sep 27, 2016
by
Benjamin Bouvier
Browse files
Raise the timeout limit for slow banking modules;
parent
45b56b56
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/index.js
View file @
b4d7f667
...
...
@@ -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
);
});
};
...
...
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