mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-13 00:58:43 +03:00
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
This commit is contained in:
parent
50790b285e
commit
4bac96a8c8
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
||||
* objects). This is an arbitrary number intended to mitigate disk space
|
||||
* exhaustion attacks.
|
||||
*/
|
||||
#define OSTREE_MAX_METADATA_SIZE (10 * 1024 * 1024)
|
||||
#define OSTREE_MAX_METADATA_SIZE (128 * 1024 * 1024)
|
||||
|
||||
/**
|
||||
* OSTREE_MAX_METADATA_WARN_SIZE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user