|
|
@ -171,7 +171,8 @@ export class AnalyticsService { |
|
|
|
private async _onAnalyticsDown() { |
|
|
|
private async _onAnalyticsDown() { |
|
|
|
let msg = 'Analytics is down'; |
|
|
|
let msg = 'Analytics is down'; |
|
|
|
console.log(msg); |
|
|
|
console.log(msg); |
|
|
|
this._alertService.sendMsg(msg); |
|
|
|
// TODO: enable analytics down webhooks when it stops bouncing
|
|
|
|
|
|
|
|
// this._alertService.sendMsg(msg);
|
|
|
|
if(this._productionMode && !this._inDocker) { |
|
|
|
if(this._productionMode && !this._inDocker) { |
|
|
|
await AnalyticsService._runAnalyticsProcess(this._zmqConnectionString); |
|
|
|
await AnalyticsService._runAnalyticsProcess(this._zmqConnectionString); |
|
|
|
} |
|
|
|
} |
|
|
|