Skip to content

Commit

Permalink
Cron: Lint fixes for a28af3c (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 authored Feb 10, 2025
1 parent a28af3c commit c7caffa
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ function pattern_import_translations_to_directory( $pattern_ids = array() ) {
remove_action( 'registered_taxonomy', 'gutenberg_block_core_navigation_link_register_taxonomy_variation' );

// Raise the memory limit for this process to at least 512M.
add_filter( 'cron_memory_limit', function() { return '512M'; } );
add_filter(
'cron_memory_limit',
function() {
return '512M';
}
);
wp_raise_memory_limit( 'cron' );

$locales = get_locales();
Expand Down

0 comments on commit c7caffa

Please sign in to comment.