mirror of
https://gitlab.silvrtree.co.uk/martind2000/old-silvrgit.git
synced 2025-01-11 02:05:08 +00:00
turning off stupid logging
This commit is contained in:
parent
6fa729b831
commit
592bdf4a21
@ -30,7 +30,8 @@ exports.doBTC = function (req,res) {
|
|||||||
var now = new Date();
|
var now = new Date();
|
||||||
if (now - GLOBAL.lastcheck > (59000 )) {
|
if (now - GLOBAL.lastcheck > (59000 )) {
|
||||||
btcQuery(function (a, b) {
|
btcQuery(function (a, b) {
|
||||||
console.log(a);
|
// console.log(a);
|
||||||
|
console.log('Got btc data.')
|
||||||
btcCache = a;
|
btcCache = a;
|
||||||
GLOBAL.lastcheck = now;
|
GLOBAL.lastcheck = now;
|
||||||
res.setHeader('Content-Type', 'application/json');
|
res.setHeader('Content-Type', 'application/json');
|
||||||
|
Loading…
Reference in New Issue
Block a user