Skip to content

Commit 7886436

Browse files
committed
Fix typo
1 parent 9e4be58 commit 7886436

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.0.1
2+
3+
- Fix "Too many channel allocated"
4+
15
2.0.0
26

37
- Convert to RabbitMQ.Client

Socolin.RabbitMQ.Client/RabbitMqChannelManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void ReleaseChannel(IChannel channel)
9898
{
9999
if (channel.IsClosed)
100100
return;
101-
Interlocked.Increment(ref _usedChannelCount);
101+
Interlocked.Decrement(ref _usedChannelCount);
102102
_availableChannelPool.Add(channel);
103103
}
104104

Socolin.RabbitMQ.Client/Socolin.RabbitMQ.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<Nullable>enable</Nullable>
7-
<Version>2.0.0</Version>
7+
<Version>2.0.1</Version>
88
<Description>A simple wrapper around RabbitMQ.Client to make it easier to use.</Description>
99
<Authors>Bertrand Provost</Authors>
1010
<RepositoryUrl>https://github.com/Socolin/Socolin.RabbitMQ.Client</RepositoryUrl>

0 commit comments

Comments
 (0)