Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Merge version 1.4.1 into main#94

Merged
bhaskarkishore merged 35 commits into
mainfrom
merge_v1.4.1
Feb 16, 2022
Merged

Merge version 1.4.1 into main#94
bhaskarkishore merged 35 commits into
mainfrom
merge_v1.4.1

Conversation

@bhaskarkishore

@bhaskarkishore bhaskarkishore commented Feb 14, 2022

Copy link
Copy Markdown
Contributor

Version 1.4.1 contains fixes and some enhancements:

  • Fixed resizing failing for very large images.
  • Fixed moderation failing when image file size is very close to Rekognition imposed limits.
  • Fixed a bug where in moderation reporting was incorrect.
  • Fixed missing metrics moderation_hit by re-adding it.
  • Added missing Jemallocator runtime config. The proxy will release memory more aggressively now.
  • Added a caching layer to store moderation results from the database. This should speed up response time for cached content.
  • Added new metrics for capturing usage of the following features: image resizing, the database cache, ipfs fallback gateway, and moderation categories.
  • Generally Improved logging

Closes #89, closes #90, closes #91, closes #92, closes #93, closes #88 , closes #95, closes #96, closes #97

@codecov-commenter

codecov-commenter commented Feb 15, 2022

Copy link
Copy Markdown

Codecov Report

Merging #94 (533fd50) into main (25ddd5e) will increase coverage by 2.40%.
The diff coverage is 50.47%.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   37.87%   40.27%   +2.40%     
==========================================
  Files          23       23              
  Lines        1814     1979     +165     
  Branches      395      439      +44     
==========================================
+ Hits          687      797     +110     
- Misses        864      886      +22     
- Partials      263      296      +33     
Impacted Files Coverage Δ
src/aws/mod.rs 0.00% <0.00%> (ø)
src/main.rs 5.12% <ø> (+0.12%) ⬆️
src/metrics.rs 0.00% <0.00%> (ø)
src/proxy.rs 16.40% <0.00%> (-0.09%) ⬇️
src/rpc/error.rs 0.00% <0.00%> (ø)
src/rpc/mod.rs 52.92% <31.42%> (-1.69%) ⬇️
src/http/mod.rs 70.28% <50.00%> (+0.11%) ⬆️
src/document.rs 63.97% <64.33%> (+51.97%) ⬆️
src/moderation.rs 46.98% <75.00%> (+1.98%) ⬆️
src/utils.rs 26.31% <0.00%> (-9.40%) ⬇️
... and 2 more

@bhaskarkishore bhaskarkishore merged commit 73bde65 into main Feb 16, 2022
@bhaskarkishore bhaskarkishore deleted the merge_v1.4.1 branch February 16, 2022 09:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.