nathank
(Nathan Kershaw)
2020 年 12 月 10 日午後 11:43
1
Discourse インスタンスに Admin API を介して一度に複数の投稿をプッシュしようとした際、Zapier 統合から以下のエラーが返されました。
使用している 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
2020 年 12 月 11 日午前 1:56
2
リクエストでまだ All Users API キーを使用していない場合は、それを使用してみてください。All Users API キーを使用してもレート制限に達する場合は、app.yml ファイル内の DISCOURSE_MAX_ADMIN_API_REQS_PER_KEY_PER_MINUTE を、デフォルト値の 60 より高い値に設定してください。