forked from ddrilling/AsbCloudServer
Fix TelemetryAnalyticsBackgroundService inf loop
This commit is contained in:
parent
11604d8157
commit
093c1eafa3
@ -52,6 +52,10 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
Console.WriteLine(ex.Message);
|
Console.WriteLine(ex.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var ms = (int)(timeToStartAnalysis - DateTime.Now).TotalMilliseconds;
|
||||||
|
ms = ms > 100 ? ms : 100;
|
||||||
|
await Task.Delay(ms, token).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user