nathank
(Nathan Kershaw)
12월 10, 2020, 11:43오후
1
Zapier 통합을 통해 Admin API로 Discourse 인스턴스에 한 번에 게시물을 2개 이상 전송하려고 하면 다음 오류가 반환됩니다:
해당 API는 다음과 같습니다:
아래 링크의 내용을 참고하고 있지만, app.yml에 어떤 설정을 추가해야 이런 문제가 발생하는지 막을 수 있는지 확실하지 않습니다:
Discourse ships with 3 different global rate limits that can be configured by site admins.
Global per-ip rate limits
These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded)
By default this rate limit is enabled, you may disable it or set it to a reporting mode.
DISCOURSE_MAX_REQS_PER_IP_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and n…
도움 주실 수 있나요?
simon
12월 11, 2020, 1:56오전
2
아직 그렇게 하지 않았다면 요청에 All Users API Key를 사용해 보세요. All Users API Key를 사용해도 여전히 속도 제한에 걸리는 경우, app.yml 파일에서 DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE 값을 기본값인 60보다 높게 설정하세요.