forked from ddrilling/AsbCloudServer
TelemetryDataBaseController doesn't await sending to SignalR
This commit is contained in:
parent
24c0ba5e16
commit
03ded4e6cf
@ -54,8 +54,8 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
|
|
||||||
var idWell = telemetryService.GetIdWellByTelemetryUid(uid);
|
var idWell = telemetryService.GetIdWellByTelemetryUid(uid);
|
||||||
if (idWell != null && dtos.Any())
|
if (idWell != null && dtos.Any())
|
||||||
await Task.Run(() => telemetryHubContext.Clients.Group($"well_{idWell}")
|
_ = Task.Run(() => telemetryHubContext.Clients.Group($"well_{idWell}")
|
||||||
.SendAsync(SirnalRMethodGetDataName, dtos), token).ConfigureAwait(false);
|
.SendAsync(SirnalRMethodGetDataName, dtos), CancellationToken.None);
|
||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user