Explorar el Código

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] hace 2 años
committed by GitHub
padre
commit
c13bd94049
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      frappe/modules/patch_handler.py

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

@@ -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:"):


Cargando…
Cancelar
Guardar