fix: Build item cache in long worker (#18165)
This commit is contained in:
parent
31394ec9b0
commit
2b969a469a
@ -110,4 +110,4 @@ def build_cache(item_code):
|
||||
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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user