Limit fx requests until Sept 18th as i've gone over :/
This commit is contained in:
parent
b31e719ed9
commit
7fd7b54743
@ -47,8 +47,12 @@ function getFx() {
|
|||||||
|
|
||||||
function updateFX() {
|
function updateFX() {
|
||||||
logger.warn('updateBitcoin');
|
logger.warn('updateBitcoin');
|
||||||
getFx();
|
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
|
|
||||||
|
if (now.getTime() > 1505696400000)
|
||||||
|
getFx();
|
||||||
|
|
||||||
const mod = delay - (now.getTime() % delay);
|
const mod = delay - (now.getTime() % delay);
|
||||||
|
|
||||||
let fxUpdateFn = () => {
|
let fxUpdateFn = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user