[wp-trac] [WordPress Trac] #56628: Cron memory limit is unnecessarily low

WordPress Trac noreply at wordpress.org
Mon Sep 26 16:21:54 UTC 2022


#56628: Cron memory limit is unnecessarily low
-------------------------+-----------------------------
 Reporter:  iandunn      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Cron API     |     Version:  2.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by iandunn):

 I haven't tested it yet, but the code for [attachment:"56628.patch"] looks
 good, thanks Hardik!

 [https://github.com/WordPress/wordpress-
 develop/blob/f8426c2192380f36001ae47d3c158c68d054e28e/tests/phpunit/tests/functions.php#L1228-L1239
 It doesn't look like `wp_raise_memory_limit()` is very testable], so
 addition tests probably aren't needed here.

 Do any component maintainers or committers have an opinion on this ticket?
 I don't work with the Cron internals much, so I want to make sure I'm not
 missing something.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56628#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list