This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
BPA.CAP
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix the producer connection returned
undefined
Savorboard
7 years ago
parent
83aaab2633
commit
815e16f5ff
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs
+ 3
- 1
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs
View File
@@ -53,7 +53,9 @@ namespace DotNetCore.CAP.Kafka
}
finally
{
_connectionPool.Return(producer);
var returned = _connectionPool.Return(producer);
if (!returned)
producer.Dispose();
}
}
}
Write
Preview
Loading…
Cancel
Save