[wp-trac] Re: [WordPress Trac] #8347: WordPress 2.7 admin extremely slow, wordpress.org timing out?

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 25 23:54:21 GMT 2008


#8347: WordPress 2.7 admin extremely slow, wordpress.org timing out?
----------------------------+-----------------------------------------------
 Reporter:  SimonK          |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.7      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by DD32):

 The plugin/theme/core update check should time out after a maximum of 3
 (or 30?) seconds.
 Regardless of if it times out, or if it retrieves the correct data, It
 should not attempt to connect again for at least 12 hours.

 Cron is the only other candidate that could be causing issues that i can
 think of(mind you, all the update checks should be run via cron regardless
 except on the plugins and themes pages), Try short-circuiting cron and see
 if that solves it: http://trac.wordpress.org/browser/trunk/wp-
 includes/cron.php#L160

 From:
 {{{
 160    function spawn_cron( $local_time ) {
 161
 162         /*
 163          * do not even start the cron if local server timer has
 drifted
 164          * such as due to power failure, or misconfiguration
 165          */
 }}}
 to:
 {{{
 160    function spawn_cron( $local_time ) {
 161     return;
 162         /*
 163          * do not even start the cron if local server timer has
 drifted
 164          * such as due to power failure, or misconfiguration
 165          */
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8347#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list