fix: Build item cache in long worker (#18165)

This commit is contained in:
Faris Ansari 2019-07-04 18:52:32 +05:30 committed by GitHub
parent 31394ec9b0
commit 2b969a469a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')