Make WordPress Core

Ticket #8086: spawn_cron_timeout.diff

File spawn_cron_timeout.diff, 412 bytes (added by ryan, 15 years ago)

Try integer timeout instead of float.

  • wp-includes/cron.php

     
    198198
    199199        update_option( 'doing_cron', $local_time + 30 );
    200200
    201         wp_remote_post($cron_url, array('timeout' => 0.01, 'blocking' => false));
     201        wp_remote_post($cron_url, array('timeout' => 1, 'blocking' => false));
    202202}
    203203
    204204/**