Merge pull request #2947 from isocolsky/rate_frequency
Refetch exchange rate every 5 min
This commit is contained in:
commit
25f30992a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue