fix: remove flush all while build assets, as asset build should never clear entire redis database. (#34874)
Switched to flushdb so frappe on clears the DB assigned to it in config.
This commit is contained in:
parent
afa0cedfca
commit
22ad66b3bf
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ def bundle(
|
|||
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
|
||||
|
||||
with suppress(Exception):
|
||||
frappe.cache.flushall()
|
||||
frappe.cache.flushdb()
|
||||
|
||||
|
||||
def watch(apps=None):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue