Skip to content

fix(reputation): recompute skips the insert when stats are unchanged - #684

Open
yggdrasilworld wants to merge 1 commit into
MergeFi:mainfrom
yggdrasilworld:fix/reputation-recompute-584
Open

yggdrasilworld wants to merge 1 commit into
MergeFi:mainfrom
yggdrasilworld:fix/reputation-recompute-584

Conversation

@yggdrasilworld

Copy link
Copy Markdown

What

Every recompute inserted a snapshot — unthrottled, a user could append ~170k rows/day. Now returns the latest snapshot unchanged instead of inserting a duplicate.

Resolves #584 (with #583's controller-throttle)

recompute rode the 120/min default — a user could append ~170k snapshot
rows/day. @Throttle(long:10/hr) + computeAndSave returns the latest
snapshot unchanged instead of inserting a duplicate.

Resolves MergeFi#584
@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

@yggdrasilworld is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

[Regression on closed #284] POST /reputation/:userId/recompute still has no throttle, and every call appends a snapshot

1 participant