Open jonyrock-back opened 4 years ago
we have logic in server:
private async _onAnalyticsDown() { const msg = 'Analytics is down'; console.log(msg); this._alertService.sendMessage(msg, WebhookType.FAILURE); if(this._productionMode && !this._inDocker) { await AnalyticsService._runAnalyticsProcess(); } }
actually, it is not correct when we start analytics on a different host. So let's make a config about this.
we have logic in server:
actually, it is not correct when we start analytics on a different host. So let's make a config about this.