Avoid tons of commits when cancelling all orders

This commit is contained in:
Matthias
2023-09-09 09:55:01 +02:00
parent e76d4241a0
commit 245a67e37e

View File

@@ -1451,7 +1451,7 @@ class FreqtradeBot(LoggingMixin):
self.handle_cancel_exit(
trade, order, open_order.order_id, constants.CANCEL_REASON['ALL_CANCELLED']
)
Trade.commit()
Trade.commit()
def handle_cancel_enter(
self, trade: Trade, order: Dict, order_id: str,