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

WordPress Trac wp-trac at lists.automattic.com
Wed May 25 23:27:09 UTC 2011


#17462: Improve cron locking
--------------------------+-----------------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Cron          |     Version:  3.1.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------
Changes (by archon810):

 * cc: admin@… (added)


Comment:

 Since I just filed a similar bug (#17561), I'd love to see a fix for this.
 What if each cron job is taken on an individual basis and marked as
 completed 1-by-1. In that case, you won't have 2 cron processes fighting
 for the same job and multiple crons may execute multiple jobs.

 Though, that's part of the problem - with a lot of jobs, things can pile
 up and you'll end up with too many wp-cron processes all running at the
 same time. I think I'd prefer to delay execution a bit instead of having
 too many thins all running on time.

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


More information about the wp-trac mailing list