[wp-trac] [WordPress Trac] #25788: Increase timeout for `plugins/update-check` API request

WordPress Trac noreply at wordpress.org
Thu Oct 31 14:46:20 UTC 2013


#25788: Increase timeout for `plugins/update-check` API request
-----------------------------+-----------------------------
 Reporter:  johnbillion      |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 On my various local test installs I have a single directory rammed full of
 plugins that is shared between installs. This directory often has over 100
 plugins in it, and this often causes the plugin update check to time out
 (due to the number of plugins that are being checked I presume).

 We should increase the timeout for the `api.wordpress.org/plugins/update-
 check` requests. We could increase it based on the number of plugins being
 checked. For example, `count( $plugins ) / 10` might be a good timeout,
 meaning an increase of one second for every ten plugins on the site (with
 the current three seconds as a minimum).

 Thoughts?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25788>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list