diff --git a/app/models/orders/orders.go b/app/models/orders/orders.go index 161cad3..18a17d0 100644 --- a/app/models/orders/orders.go +++ b/app/models/orders/orders.go @@ -354,7 +354,7 @@ func (m *ordersModel) GetTimeoutOrder( sql := "1=1" var args []interface{} sql += " and transfer_status not in (1,2,4,5,6)" - sql += " and created_at <= DATE_SUB(NOW(), INTERVAL 10 MINUTE)" + sql += " and created_at <= DATE_SUB(NOW(), INTERVAL 5 MINUTE)" err = m.GetDb().Where(sql, args...).OrderBy("created_at").Limit(limit).Find(&orders) return }