diff --git a/lib/event_service/client.rb b/lib/event_service/client.rb index 98260be0f..25bb169b1 100644 --- a/lib/event_service/client.rb +++ b/lib/event_service/client.rb @@ -23,6 +23,8 @@ def connection_for(endpoint) f.adapter Faraday.default_adapter end + # connpass は https://connpass.com/robots.txt を守らない場合は、アクセス制限を施すので、下記の sleep を入れるようにした https://connpass.com/about/api/ + sleep 5 if endpoint.include?(EventService::Providers::Connpass::ENDPOINT) end end end