Skip to content

Commit

Permalink
set logging format for scan worker to happen before token worker starts
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtzman committed Oct 6, 2021
1 parent ae20f00 commit 35c7786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/externalData/worker.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const log = require('electron-log')

log.transports.console.format = '[scanWorker] {h}:{i}:{s} {text}'
log.transports.console.level = process.env.LOG_WORKER ? 'debug' : 'info'

const balances = require('./balances')
const rates = require('./rates').default
const inventory = require('./inventory')
const loadStaticData = require('./staticData').default

log.transports.console.format = '[scanWorker] {h}:{i}:{s} {text}'
log.transports.console.level = process.env.LOG_WORKER ? 'debug' : false

let heartbeat

function tokenBalanceScan (addresses) {
Expand Down

0 comments on commit 35c7786

Please sign in to comment.