8000 Fix stale RSVP counts used on count updates by murjax · Pull Request #93 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

Fix stale RSVP counts used on count updates - #93

Merged
mwoods79 merged 1 commit into
huddlz-hq:mainfrom
murjax:rvm_fix_rsvp_count_updates
Feb 6, 2026
Merged

mwoods79 merged 1 commit into
huddlz-hq:mainfrom
murjax:rvm_fix_rsvp_count_updates

Conversation

@murjax
@murjax murjax commented Jan 3, 2026
Copy link
Copy Markdown
Contributor

If two users concurrently RSVP to a huddl, the count will not update correctly. The user that RSVPs with a stale count will update the count based on the local changeset, wiping out count updates that have occurred since the last page load. This change shifts increment and decrement actions to Postgres so the client isn't providing a hard value for the count.

@mwoods79
mwoods79 merged commit 6017f94 into huddlz-hq:main Feb 6, 2026
1 check passed
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.

2 participants

0