update exchange rate at 5 min interval

This commit is contained in:
Ivan Socolsky 2015-07-01 19:10:57 -03:00
commit 8181c89ef1

View file

@ -45,7 +45,7 @@ RateService.prototype._fetchCurrencies = function() {
var self = this; var self = this;
var backoffSeconds = 5; var backoffSeconds = 5;
var updateFrequencySeconds = 3600; var updateFrequencySeconds = 5 * 60;
var rateServiceUrl = 'https://bitpay.com/api/rates'; var rateServiceUrl = 'https://bitpay.com/api/rates';
var retrieve = function() { var retrieve = function() {