fix: 限定捞瓶查询与重试成本
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
CREATE INDEX "bottles_pick_candidates_id_idx"
|
||||
ON "bottles"("id")
|
||||
WHERE "review_status" = 'APPROVED'
|
||||
AND "pool_status" = 'IN_POOL'
|
||||
AND "active_lease_id" IS NULL;
|
||||
Reference in New Issue
Block a user