DevOps2018-Promotions / promotions

The promotions resource is a representation of a special promotion or sale that is running against a product or perhaps the entire store. Some examples are "buy 1 get 1 free", "20% off" etc.
MIT License
2 stars 2 forks source link

Add mutex mechanism to guarantee concurrent redeem. #42

Closed zhangcshcn closed 6 years ago

codecov-io commented 6 years ago

Codecov Report

Merging #42 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   94.79%   94.81%   +0.02%     
==========================================
  Files           2        2              
  Lines         192      193       +1     
==========================================
+ Hits          182      183       +1     
  Misses         10       10
Impacted Files Coverage Δ
server.py 92.03% <100%> (-0.28%) :arrow_down:
models.py 98.75% <100%> (+0.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 56948c3...8fb6cde. Read the comment docs.