1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] 72b282fe85
[PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 16MiB chunks (#6325)
archive: Generate crc32 over 16MiB chunks (#6274)

* archive: Generate crc32 over 16MiB chunks

Running crc32 over the whole content of the compressed file potentially
requires a lot of RAM. The crc32 function in zlib allows for calculating
the checksum in chunks. This changes the code to calculate the checksum
over 16 MiB chunks instead. 16 MiB is the value also used by
shutil.copyfileobj().

* Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml

Change the type of change to bugfix

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/6199-archive-generate-checksum-in-chunks.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 14b19afc9a)

Co-authored-by: Nils Meyer <nils@nm.cx>
2023-04-13 05:09:24 +00:00
..
action/system Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) (#5068) 2022-08-05 13:17:19 +02:00
become Make pfexec become usable for illumos (#3889) (#5339) 2022-10-05 12:49:38 +02:00
cache [stable-5] Remove unneccessary imports (#5977) 2023-02-12 20:22:36 +01:00
callback [stable-5] Remove unneccessary imports (#5977) 2023-02-12 20:22:36 +01:00
connection [PR #6118/9a97bc7c backport][stable-5] Add 'inventory_hostname' to the jail plugin documentation (#6136) 2023-03-03 23:09:49 +01:00
doc_fragments [PR #5833/08b0ea70 backport][stable-5] ldap.py: capitalize one letter (#5835) 2023-01-14 18:30:16 +01:00
filter [stable-5] Remove unneccessary imports (#5977) 2023-02-12 20:22:36 +01:00
inventory [PR #6227/cd706454 backport][stable-5] Fixed XenOrchestra inventory plugin failing due to not checking response ID. (#6244) 2023-03-26 10:04:00 +02:00
lookup [PR #6074/b6492911 backport][stable-5] stop passing loader/dataloader since it has been deprecated by ansible (#6091) 2023-02-25 15:39:43 +01:00
module_utils [PR #6114/6cf67448 backport][stable-5] memset*.py: Fixed URLError handling (#6156) 2023-03-08 13:58:36 +01:00
modules [PR #6274/14b19afc backport][stable-5] archive: Generate crc32 over 16MiB chunks (#6325) 2023-04-13 05:09:24 +00:00
test Fix more copyright lines, add more default copyright lines (#5095) (#5096) 2022-08-08 15:19:46 +02:00