Skip to content

Commit

Permalink
set timeout to 15min
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofbyteball committed Nov 10, 2017
1 parent e45b00d commit 877a9c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion play/rpc_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ function initRPC() {
headlessWallet.readSingleWallet(function(_wallet_id) {
wallet_id = _wallet_id;
// listen creates an HTTP server on localhost only
server.listen(conf.rpcPort, conf.rpcInterface);
var httpServer = server.listen(conf.rpcPort, conf.rpcInterface);
httpServer.timeout = 900*1000;
});
}

Expand Down

0 comments on commit 877a9c4

Please sign in to comment.