[wp-trac] [WordPress Trac] #17462: Improve cron locking

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 22 10:37:32 UTC 2011


#17462: Improve cron locking
--------------------------+---------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.3
Component:  Cron          |     Version:  3.1.2
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by tott):

 Did not run into any bug yet but while checking the code got wondering if
 the check

 {{{if ( $lock > $local_time + 10*60 )}}}

 in http://core.trac.wordpress.org/browser/trunk/wp-includes/cron.php#L209
 should not honor the WP_CRON_LOCK_TIMEOUT to avoid conflicts when the
 WP_CRON_LOCK_TIMEOUT is bigger than 10 minutes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17462#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list