瀏覽代碼

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] 2 年之前
committed by GitHub
父節點
當前提交
c13bd94049
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      frappe/modules/patch_handler.py

+ 1
- 0
frappe/modules/patch_handler.py 查看文件

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


Loading…
取消
儲存