Ver a proveniência

fix: disable autocommit before each patch (#18307) (#18308)

(cherry picked from commit 1d186db6a6)

Co-authored-by: Ankush Menat <ankush@frappe.io>
version-14
mergify[bot] há 2 anos
committed by GitHub
ascendente
cometimento
c13bd94049
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      frappe/modules/patch_handler.py

+ 1
- 0
frappe/modules/patch_handler.py Ver ficheiro

@@ -175,6 +175,7 @@ def execute_patch(patchmodule, method=None, methodargs=None):

start_time = time.time()
frappe.db.begin()
frappe.db.auto_commit_on_many_writes = 0
try:
if patchmodule:
if patchmodule.startswith("finally:"):


Carregando…
Cancelar
Guardar