Lucas_Werkmeister_WMDE added a comment.
It looks like `$wgJobRunRate > 1` is actually supported, and has been since the job queue was introduced – looks like this in rMWeeb84cce20e9: Added job table, for deferred processing of jobs. The immediate application is… <https://phabricator.wikimedia.org/rMWeeb84cce20e993a33599c3af988a40703b35e92c>, and still pretty similar in current master: if ( $wgJobRunRate <= 0 ) { return; } if ( $wgJobRunRate < 1 ) { $max = mt_getrandmax(); if ( mt_rand( 0, $max ) < $max * $wgJobRunRate ) { return; } $n = 1; } else { $n = intval( $wgJobRunRate ); } TASK DETAIL https://phabricator.wikimedia.org/T255259 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, danshick-wmde, Samantha_Alipio_WMDE, Addshore, Aklapper, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
