Skip to content

Commit 155b766

Browse files
committed
Cosmetic change
1 parent 7c8007e commit 155b766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/event_service/providers/connpass.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def fetch_events(group_id:, yyyymm: nil, yyyymmdd: nil)
4343

4444
# APIキーごとに、現状「1秒間に1リクエストまで」 のリクエスト制限 (スロットリング) を設けています。
4545
# この制限を超過すると、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
46+
# cf. https://connpass.com/about/api/v2/
4747
sleep 1
4848
rescue ConnpassApiV2::Error => e
4949
sleep 5 && retry if e.response&.status == 429

0 commit comments

Comments
 (0)