cog
cog copied to clipboard
Bugfix: fix crash when put with the same id repeatly when use use concurrency and max > 1
When use async concurrency and max > 1, repeatedly put with the same prediction id ,will cause the cog server crash. when put the same id ,we should return its current state , just like no concurrency or with concurrency but max = 1. #2454