Merge pull request #2947 from isocolsky/rate_frequency

Refetch exchange rate every 5 min
This commit is contained in:
Matias Alejo Garcia 2015-07-02 08:34:40 -03:00
commit 25f30992a7

View file

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