Skip to content

Commit

Permalink
fix(#70): Fixed CreateAdapter async warning
Browse files Browse the repository at this point in the history
  • Loading branch information
snovak7 committed Dec 18, 2023
1 parent f12d762 commit 48420ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public StreamProtocolAdapterFactory(
}

/// <inheritdoc />
public override async Task<IQueueAdapter> CreateAdapter()
public override Task<IQueueAdapter> CreateAdapter()
{
LogCreateAdapter(_name);
return new StreamProtocolAdapter(_name, _loggerFactory, _clusterOptions, _serializer, _streamQueueMapper, _streamSystem);
return Task.FromResult<IQueueAdapter>(new StreamProtocolAdapter(_name, _loggerFactory, _clusterOptions, _serializer, _streamQueueMapper, _streamSystem));
}

/// <inheritdoc />
Expand Down

0 comments on commit 48420ce

Please sign in to comment.