[wp-trac] [WordPress Trac] #8923: cron timeout is too short

WordPress Trac noreply at wordpress.org
Tue Jun 14 05:30:00 UTC 2016


#8923: cron timeout is too short
-------------------------------------------------+-------------------------
 Reporter:  hailin                               |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Cron API                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-patch reporter-feedback dev-   |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by rmccue):

 In [changeset:"37694"]:
 {{{
 #!CommitTicketReference repository="" revision="37694"
 HTTP API: Update Requests.

 This introduces a minimum value of 1 second for timeouts passed to cURL.

 Internally, cURL uses alarm() for interrupts, which accepts a second-
 resolution timeout. Any values lower than 1 second are instantly failed
 rather than being rounded upwards. While this makes the experience worse
 for those using asynchronous DNS lookups, there's no way to detect which
 DNS resolver is being used from PHP.

 See #33055, #8923.
 }}}

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


More information about the wp-trac mailing list