We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8007e commit 155b766Copy full SHA for 155b766
lib/event_service/providers/connpass.rb
@@ -43,7 +43,7 @@ def fetch_events(group_id:, yyyymm: nil, yyyymmdd: nil)
43
44
# APIキーごとに、現状「1秒間に1リクエストまで」 のリクエスト制限 (スロットリング) を設けています。
45
# この制限を超過すると、HTTPステータスコード 429 Too Many Requests が返されます。
46
- # cf. https://connpass.com/about/api/v2/#section/%E6%A6%82%E8%A6%81/%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E9%99%90
+ # cf. https://connpass.com/about/api/v2/
47
sleep 1
48
rescue ConnpassApiV2::Error => e
49
sleep 5 && retry if e.response&.status == 429
0 commit comments