Support a configurable compression level:

i.e.

$settings['igbinary_compress_level'] = 6;

Similar to how redis does it.

Issue fork igbinary-3548777

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hanoii created an issue. See original summary.

grimreaper’s picture

Hi,

Thanks for the issue and the MR.

Is it related or a duplicate of #3503772: Consider length for compression? ?

hanoii’s picture

Not really, that issue is about compression data conditionally on the string length , this is just setting the compression level of gzcompress:

https://www.php.net/manual/en/function.gzcompress.php

level
The level of compression. Can be given as 0 for no compression up to 9 for maximum compression.
If -1 is used, the default compression of the zlib library is used which is 6.

grimreaper’s picture

Assigned: hanoii » grimreaper

  • grimreaper committed f74576d3 on 2.0.x authored by hanoii
    feat: #3548777 Support a configurable compression level
    
    By: hanoii
    By:...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.