mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix: Dont rebuild cache on cache bust (#18319)
- Results in a lot of stale background jobs - Cache will be built when needed
This commit is contained in:
@@ -1007,7 +1007,7 @@ def invalidate_item_variants_cache_for_website(doc):
|
||||
|
||||
if item_code:
|
||||
item_cache = ItemVariantsCacheManager(item_code)
|
||||
item_cache.rebuild_cache()
|
||||
item_cache.clear_cache()
|
||||
|
||||
|
||||
def check_stock_uom_with_bin(item, stock_uom):
|
||||
|
||||
Reference in New Issue
Block a user