From 5ed9942380b749bd16ad888f46154a3e07e676be Mon Sep 17 00:00:00 2001 From: Jasper van Merle Date: Thu, 10 Oct 2019 04:09:09 +0200 Subject: [PATCH] Fix rate limit related errors --- lib/docs/scrapers/mariadb.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/docs/scrapers/mariadb.rb b/lib/docs/scrapers/mariadb.rb index 8f8de55c..fedc1e5e 100644 --- a/lib/docs/scrapers/mariadb.rb +++ b/lib/docs/scrapers/mariadb.rb @@ -13,6 +13,7 @@ module Docs html_filters.insert_before 'internal_urls', 'mariadb/erase_invalid_pages' html_filters.push 'mariadb/entries', 'mariadb/clean_html' + options[:rate_limit] = 200 options[:skip_patterns] = [ /\+/, /\/ask\//, @@ -20,10 +21,6 @@ module Docs /-changelog\//, /^documentation\//, /^mariadb-server-documentation\//, - /signal-statement\//, - /resignal-statement\//, - /isolation-level\//, - /rollback-statement\// ] options[:attribution] = <<-HTML