From 3e91fb319633bbea625bb613884db7cb1f705c60 Mon Sep 17 00:00:00 2001 From: venkataakhil Date: Sat, 24 Jun 2023 20:49:26 +0530 Subject: [PATCH] Test kms --- smart_service/apis/publish_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smart_service/apis/publish_api.py b/smart_service/apis/publish_api.py index 4769c9b..e480e56 100644 --- a/smart_service/apis/publish_api.py +++ b/smart_service/apis/publish_api.py @@ -7,6 +7,7 @@ import frappe.utils import os from frappe.utils import cstr from smart_service.apis.app_user_login import input_validation +import time current_db_name = frappe.conf.get("db_name") site_name = cstr(frappe.local.site) @@ -756,6 +757,7 @@ def merge_json_files(old_json_path, new_json_path, out_file_path): else: var_dict["Variant"]["Systems"].append(i) + time.sleep(0.100) data_old["JSON"][old_var_key] = var_dict final_data["JSON"].append(var_dict)