Update item_variants_cache.py
This commit is contained in:
parent
284e5a284e
commit
c64cc331b7
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user