youknowone / ring

Python cache interface with clean API and built-in memcache & redis + asyncio support.
http://ring-cache.readthedocs.io/en/latest/
Other
478 stars 37 forks source link

make SingletonCoroutineProxy thread safe #161

Closed long2ice closed 4 years ago

long2ice commented 4 years ago

When high concurrency,SingletonCoroutineProxy is not thread safe,which will cause cannot reuse already awaited coroutine.

codecov[bot] commented 4 years ago

Codecov Report

Merging #161 into master will increase coverage by 0.00%. The diff coverage is 87.50%.

@@           Coverage Diff           @@
##           master     #161   +/-   ##
=======================================
  Coverage   98.06%   98.06%           
=======================================
  Files          14       14           
  Lines        1495     1498    +3     
=======================================
+ Hits         1466     1469    +3     
  Misses         29       29           
youknowone commented 4 years ago

Thanks for contributing!