|
|
@ -6,13 +6,13 @@ import parser from "./parser" |
|
|
|
import influx from "./influx" |
|
|
|
import influx from "./influx" |
|
|
|
|
|
|
|
|
|
|
|
const run = async()=>{ |
|
|
|
const run = async()=>{ |
|
|
|
// console.log('Start domain watcher')
|
|
|
|
console.log('Start domain watcher') |
|
|
|
// console.time('watcher')
|
|
|
|
console.time('watcher') |
|
|
|
// await domainWatcher();
|
|
|
|
await domainWatcher(); |
|
|
|
// console.timeEnd('watcher')
|
|
|
|
console.timeEnd('watcher') |
|
|
|
// influx()
|
|
|
|
influx() |
|
|
|
// console.log('Start parser');
|
|
|
|
console.log('Start parser'); |
|
|
|
// console.time('watcher');
|
|
|
|
console.time('watcher'); |
|
|
|
await parser(); |
|
|
|
await parser(); |
|
|
|
console.timeEnd('watcher'); |
|
|
|
console.timeEnd('watcher'); |
|
|
|
|
|
|
|
|
|
|
|