6 Commits

Author SHA1 Message Date
zhx
afce96dc42 feat(lucky-gift): settle jackpot eligibility by round and 48h RTP 2026-07-15 20:36:32 +08:00
zhx
787d8d36da fix(lucky-gift): derive novice stage from configured thresholds 2026-07-15 18:16:19 +08:00
zhx
eaeff155f8 feat(lucky-gift): isolate strategy pools and audit balance adjustments 2026-07-15 16:09:54 +08:00
zhx
8b6105c730 feat(lucky-gift): implement dynamic v3 strategy 2026-07-15 14:49:39 +08:00
zhx
959ce54750 fix: 治理线上 MySQL CPU 波动的两个热点查询
- backfill-last7 的报表用户集合改从 wallet_accounts(7千行)取,
  替代每10分钟对千万级 wallet_entries 做资产全量 DISTINCT 扫描
 (线上等价性已核验:旧集合 4907 人 ⊆ 新集合 4908 人)
- lucky_gift_outbox 补两个无 app_code 前缀的 claim 索引,
  消除 worker 每秒空轮询的全索引扫描+filesort(线上已手工应用)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 16:10:57 +08:00
zhx
8affe63f6a Split lucky gift service and ops center 2026-07-08 22:30:46 +08:00