You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(convex): reduce write conflicts across hot paths
- downloads:increment: remove unnecessary db.get that added skill doc
to read set, causing conflicts with the stat processing cron
- users:ensure: only patch when there are real field changes, skip
unconditional updatedAt bump that forced a write on every call
- comments: route stats through event sourcing (insertStatEvent) instead
of synchronous read-modify-write on the skill doc
- rateLimits: split into query-first check + conditional mutation so
denied requests are conflict-free reads
- skillStatEvents: reduce MAX_SKILLS_PER_RUN from 500 to 50 to shrink
the write set and lower conflict probability with concurrent mutations
Co-Authored-By: theonejvo <theonejvo@users.noreply.github.com>
0 commit comments