Skip to content

Raise the Realtime limits after restarting it - #34

Merged
musa-kal merged 1 commit into
mainfrom
ci/realtime-limits-after-restart
Nov 14, 2026
Merged

musa-kal merged 1 commit into
mainfrom
ci/realtime-limits-after-restart

Conversation

@musa-kal

Copy link
Copy Markdown
Member

#32 raised the local Realtime tenant's limits and then restarted Realtime. Realtime reseeds its tenant with the defaults when it starts (SEED_SELF_HOST=true), so the restart put the 100 a second limit straight back, and live update journeys still hit MessagePerSecondRateLimitReached (seen again on #33). The green run after #32 was luck.

This restarts Realtime first, waits until it is healthy, then raises the limits before any client connects, and prints the stored value. Checked on a local stack: the tenant reads 1000 after the restart and stays there. docs/testing.md has the same order for local runs.

Realtime reseeds its tenant with the default limits when it starts (SEED_SELF_HOST), so updating
the tenant and then restarting put the 100 a second limit straight back.

Co-authored-by: Ferrin <177692050+Ferrin-Y@users.noreply.github.com>
Co-authored-by: noorelmosrati <182049385+noorelmosrati@users.noreply.github.com>
@musa-kal
musa-kal merged commit e8a1e1f into main Nov 14, 2026
7 checks passed
@musa-kal
musa-kal deleted the ci/realtime-limits-after-restart branch November 14, 2026 04:07

This branch was successfully deployed

1 active deployment
preview — 240061f6 Deployed Nov 14, 2026 by musa-kal via Deploy web to Cloudflare #85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant