Commit ba42efdb authored by Erick Hitter's avatar Erick Hitter
Browse files

Doc tweaks

parent c0919d5f
......@@ -286,7 +286,7 @@ class Events extends Singleton {
);
}
// Free process for the next event, unless it wasn't set to begin with
// Free locks for the next event, unless they weren't set to begin with
if ( ! $force ) {
// Don't need special timeout handling
$this->running_event = null;
......@@ -311,7 +311,7 @@ class Events extends Singleton {
*
* Used to ensure only one instance of a particular event, such as `wp_version_check` runs at one time
*
* @param $event array Event data
* @param $event object Event data
*/
private function prime_event_action_lock( $event ) {
Lock::prime_lock( $this->get_lock_key_for_event_action( $event ), JOB_LOCK_EXPIRY_IN_MINUTES * \MINUTE_IN_SECONDS );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment