Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force compression when minRatio = 1 #129

Closed
wants to merge 1 commit into from

Conversation

hecktarzuli
Copy link
Contributor

Currently documentation says if you set minRatio to 1, everything will be compressed. This actually isn't true. It still won't compress files that are LARGER than the original. This update does what the documentation says (rather than saying set minRatio to 99 or something)

This PR contains a:

  • [x ] bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

This change makes minRatio 1 actually compress all files.

Currently documentation says if you set minRatio to 1, everything will be compressed.  This actually isn't true.  It still won't compress files that are LARGER than the original.  This update does what the documentation says (rather than saying set minRatio to 99 or something)
@jsf-clabot
Copy link

jsf-clabot commented Aug 20, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need fix documentation, it is breaking change

@hecktarzuli
Copy link
Contributor Author

Putting in an issue instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants