Skip to content

Commit 3f449a0

Browse files
committed
sm: optimize force close contract
1 parent 293fec2 commit 3f449a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

model/subscription_model.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,8 @@ func ForceCloseOpenContractIds(
20222022
transfer_contract.open AND
20232023
transfer_contract.create_time <= $3
20242024
2025+
ORDER BY transfer_contract.create_time
2026+
20252027
LIMIT $4
20262028
) t
20272029

0 commit comments

Comments
 (0)