commit | 2b969a469a05c2e4962cc080e71a6b6acf716616 | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchampfaris@users.noreply.github.com> | Thu Jul 04 18:52:32 2019 +0530 |
committer | GitHub <noreply@github.com> | Thu Jul 04 18:52:32 2019 +0530 |
tree | a93572f783563889b16d6c95c1c1a8edf7454f47 | |
parent | 31394ec9b0fb3aa509ba84ba890c8c617207d17d [diff] |
fix: Build item cache in long worker (#18165)
diff --git a/erpnext/portal/product_configurator/item_variants_cache.py b/erpnext/portal/product_configurator/item_variants_cache.py index f33c8d6..fc294ce 100644 --- a/erpnext/portal/product_configurator/item_variants_cache.py +++ b/erpnext/portal/product_configurator/item_variants_cache.py
@@ -110,4 +110,4 @@ def enqueue_build_cache(item_code): if frappe.cache().hget('item_cache_build_in_progress', item_code): return - frappe.enqueue(build_cache, item_code=item_code, queue='short') + frappe.enqueue(build_cache, item_code=item_code, queue='long')