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
perf(server): bulk DB loops + React.cache repeated queries (#91)
Closes#88.
- affiliate.topReferrers: replace per-row SELECT with single inArray
+ Map lookup; also drops the buggy stub 'satisfy and() arity' query
that was always one-row and discarded
- gdpr.purgeExpiredDeletions: parallelize the markPurgedAt + audit
insert per row, and reorder so we mark+audit BEFORE the user delete
(previously the cascade wiped accountDeletion before the update,
making the purgedAt write a silent no-op)
- referral.recordAcceptance: Promise.all the update + audit per row,
iterations themselves via Promise.allSettled
- webhooks.processPendingDeliveries: parallelize the two status
updates per delivery (delivery row + subscription row)
- onboarding.hasCompletedOnboarding: wrap in React.cache so the
layout + page no longer double-query per request
0 commit comments