mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
Update item_variants_cache.py
This commit is contained in:
@@ -106,6 +106,5 @@ def build_cache(item_code):
|
||||
|
||||
def enqueue_build_cache(item_code):
|
||||
if frappe.cache().hget('item_cache_build_in_progress', item_code):
|
||||
print('caching in progress for', item_code)
|
||||
return
|
||||
frappe.enqueue(build_cache, item_code=item_code, queue='short')
|
||||
|
||||
Reference in New Issue
Block a user