[enh] add url watcher + add optional maxLate parameter for BMA watcher
This commit is contained in:
@@ -3,6 +3,7 @@ import * as yaml from 'js-yaml';
|
||||
import * as fs from 'fs';
|
||||
import {ws2pWatcher} from "./watchers/ws2p/ws2p-watcher";
|
||||
import {bmaWatcher} from "./watchers/bma/bma-watcher";
|
||||
import {dprobeHeartbeat} from './watchers/dprobe/dprobe-heartbeat-watcher'
|
||||
|
||||
export async function dwatch(confFile: string) {
|
||||
|
||||
@@ -11,4 +12,5 @@ export async function dwatch(confFile: string) {
|
||||
|
||||
await Promise.all((conf.ws2pServers || []).map(ws2pWatcher(conf)))
|
||||
await Promise.all((conf.bmaServers || []).map(bmaWatcher(conf)))
|
||||
await Promise.all((conf.dprobeHeartbeats || []).map(dprobeHeartbeat(conf)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user