Skip to content

Commit

Permalink
fix(NodeChannelSubscribeJob.cs): change NodeUpdateManagement method c…
Browse files Browse the repository at this point in the history
…all to async to prevent blocking of the main thread
  • Loading branch information
Jossec101 committed Dec 6, 2023
1 parent 458f985 commit 82696d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/NodeChannelSubscribeJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public async Task Execute(IJobExecutionContext context)
{
var channelEventUpdate = result.ResponseStream.Current;
_logger.LogInformation("Channel event update received for node {@NodeId}", node.Id);
NodeUpdateManagement(channelEventUpdate, node);
await NodeUpdateManagement(channelEventUpdate, node);
}
catch (Exception e)
{
Expand Down

0 comments on commit 82696d9

Please sign in to comment.