カスタムAPIのスロットル設定が高いにもかかわらず、カレンダービューで予期せぬレート制限が発生

Description

After a recent Discourse rebuild (self-hosted), I am consistently encountering user-facing rate limiting (429 errors) when viewing the main Full Calendar Version 6, even though my site has very low activity (1–2 simultaneous users). This behavior started appearing after my last two rebuilds.

My rate limit configuration (as set in app.yml):

  • DISCOURSE_MAX_ADMIN_API_REQS_PER_MINUTE: 4x default
  • DISCOURSE_MAX_REQS_PER_MINUTE: 4x default
  • DISCOURSE_MAX_REQS_PER_DAY: 4x default
  • No per-IP rate limit is specified.

Observations

  • No errors are shown in /logs.
  • No reverse proxy is in use (standard Let’s Encrypt container and an A record on domain).
  • Only calendar views seem to trigger this unexpected rate limiting.
  • There have been no changes to user activity
  • all plugins and theme components are official
  • This started only after a recent Discourse rebuild. Continued after tonight’s rebuild
  • Admin > Logs are clean at time of incident.

Troubleshooting so far

  • Confirmed the custom rate-limit settings are present and well above defaults.
  • Tried multiple browsers, cleared caches.
  • meta.discourse.org topics suggest there may be additional undocumented internal rate limits overriding custom values after upgrades.

References


Request

Could you please:

  1. Confirm if there are any new or hidden rate limiters that would affect background or plugin-generated requests after a recent update/rebuild, and if so, describe how to override or tune them.
  2. Advise why my high custom rate limits are not being respected for the calendar view.
  3. Suggest further troubleshooting or configuration changes, if any.

Thank you!

It looks like this could be related to Re-add full ics export - #9 by kelv because 100 events seem to show, then after about 2 minutes can display another large batch, and they don’t appear gradually but in large chunks.

Edit: This rate-limited behaviour is manageable for now, but becomes apparent when advancing far; i can see all the events for my current week and all the events in the next, it’s if i then proceed to the next week i hit the hard limit.

I should also clarify that, the upcoming events full calendar v6 wasn’t rate limited to this extent, before i set the custom api throttle settings. These app.yml settings didn’t change the rate limiting visible on FullCalendar :wink: