insight REST API retry

This commit is contained in:
Matias Alejo Garcia 2014-06-05 12:18:54 -03:00
commit da7c2c88db
8 changed files with 65 additions and 48 deletions

View file

@ -6,7 +6,7 @@ angular.module('copayApp.services').factory('Socket',
var url = 'http://' + config.socket.host + ':' + config.socket.port;
var socket = io(url, {
'reconnection': true,
'reconnectionDelay': 500,
'reconnectionDelay': config.socket.reconnectDelay || 500,
});
return {