Changeset 31297 for trunk/src/wp-admin/admin.php
- Timestamp:
- 01/29/2015 11:52:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r31170 r31297 64 64 } elseif ( apply_filters( 'do_mu_upgrade', true ) ) { 65 65 $c = get_blog_count(); 66 // If 50 or fewer sites, run every time. Else, run "about ten percent" of the time. Shh, don't check that math. 66 67 /* 68 * If there are 50 or fewer sites, run every time. Otherwise, throttle to reduce load: 69 * attempt to do no more than threshold value, with some +/- allowed. 70 */ 67 71 if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) { 68 72 require_once( ABSPATH . WPINC . '/http.php' );
Note: See TracChangeset
for help on using the changeset viewer.