Limit fx requests until Sept 18th as i've gone over :/

This commit is contained in:
Martin Donnelly 2017-09-05 12:12:42 +01:00
parent b31e719ed9
commit 7fd7b54743

View File

@ -47,8 +47,12 @@ function getFx() {
function updateFX() {
logger.warn('updateBitcoin');
getFx();
const now = new Date();
if (now.getTime() > 1505696400000)
getFx();
const mod = delay - (now.getTime() % delay);
let fxUpdateFn = () => {