소스 검색
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
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
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:"): |
|
|
|