Increase the metadata size limit to 128MB
authorBartłomiej Piotrowski <b@bpiotrowski.pl>
Thu, 25 May 2023 09:43:05 +0000 (11:43 +0200)
committerBartłomiej Piotrowski <b@bpiotrowski.pl>
Thu, 25 May 2023 09:49:54 +0000 (11:49 +0200)
commit4bac96a8c817beda37448f9b8c662162bb619981
tree2882bfe6843d959012a987fdd5f9ab2656d67af0
parent50790b285e5b5c72c76ea4017850cafa26f40e51
Increase the metadata size limit to 128MB

Flathub has hit the 10MB limit in 2022, and we had to drop less popular
CPU architectures from the main summary to subsummaries, effectively
cutting off users running too old Flatpak version. Despite that, the
main summary containing only x86_64 is already at 7MB. As this is
eventually going to happen to subsummaries as well, preemptively bump
the limit 12 times.

It takes between 2 and 3 years for a change like this to roll out across
Linux distributions so the best time for this was yesterday.

fixes #2715
src/libostree/ostree-core.h