Skip to content

break up asset groups of over 150#78

Merged
rinatkhaziev merged 9 commits intomasterfrom
break-up-big-groups
Jan 22, 2025
Merged

break up asset groups of over 150#78
rinatkhaziev merged 9 commits intomasterfrom
break-up-big-groups

Conversation

@trepmal
Copy link
Copy Markdown
Contributor

@trepmal trepmal commented Jul 3, 2024

If there are more than 150 files in a single concatenated asset, it returns a 400 with no other error. We can proactively break up these large groups.

$concat_max_files = 150;

if ( 0 == count( $args ) || count( $args ) > $concat_max_files )
concat_http_status_exit( 400 );

Comment thread concat-utils.php Outdated
@rinatkhaziev rinatkhaziev changed the title break up asset groups of over 100 break up asset groups of over 150 Jan 22, 2025
Copy link
Copy Markdown
Contributor Author

@trepmal trepmal left a comment

Choose a reason for hiding this comment

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

👍 updates look good in my test environment

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.

2 participants