[enh] add url watcher + add optional maxLate parameter for BMA watcher
This commit is contained in:
@@ -3,6 +3,7 @@ export interface Conf {
|
||||
reconnectionDelays: number[]
|
||||
ws2pServers: ConfWS2P[]
|
||||
bmaServers: ConfBMA[]
|
||||
dprobeHeartbeats: ConfDprobeHeartbeat[]
|
||||
mail: ConfMail
|
||||
}
|
||||
|
||||
@@ -14,11 +15,19 @@ export interface ConfWS2P {
|
||||
currency: string
|
||||
}
|
||||
|
||||
export interface ConfBMA {
|
||||
export interface ConfURL {
|
||||
address: string
|
||||
frequency: number
|
||||
}
|
||||
|
||||
export interface ConfBMA extends ConfURL {
|
||||
maxLate?: number
|
||||
}
|
||||
|
||||
export interface ConfDprobeHeartbeat extends ConfURL{
|
||||
lastBeat: number
|
||||
}
|
||||
|
||||
export interface ConfMail {
|
||||
enabled: boolean
|
||||
host: string
|
||||
|
||||
Reference in New Issue
Block a user