|
|
@ -70,7 +70,11 @@ namespace NzbDrone.Core
|
|
|
|
|
|
|
|
|
|
|
|
var deskMetricsClient = new DeskMetricsClient(Kernel.Get<ConfigProvider>().UGuid.ToString(), appId, _enviromentProvider.Version);
|
|
|
|
var deskMetricsClient = new DeskMetricsClient(Kernel.Get<ConfigProvider>().UGuid.ToString(), appId, _enviromentProvider.Version);
|
|
|
|
Kernel.Bind<IDeskMetricsClient>().ToConstant(deskMetricsClient);
|
|
|
|
Kernel.Bind<IDeskMetricsClient>().ToConstant(deskMetricsClient);
|
|
|
|
Kernel.Get<AnalyticsProvider>().Checkpoint();
|
|
|
|
|
|
|
|
|
|
|
|
if (EnviromentProvider.IsProduction)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Kernel.Get<AnalyticsProvider>().Checkpoint();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void InitQuality()
|
|
|
|
private void InitQuality()
|
|
|
|