Automattic\VIP\Performance\Last_Post_Modified::set_lock PHP Method

set_lock() private static method

private static set_lock ( $post_type )
    private static function set_lock($post_type)
    {
        $key = self::get_lock_name($post_type);
        set_transient($key, 1, self::LOCK_TIME_IN_SECONDS);
    }