Disable cache support when using validate
Since we never use any of the functionality when validating, we'll disable it. Change-Id: I8432acc4ff847a3e99bef10449969a01c8fc2795 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
af5f511cf5
commit
b87979c13c
|
@ -85,6 +85,9 @@ class Client(object):
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
LOG.info('Validating dashboards in %s', self.args.path)
|
LOG.info('Validating dashboards in %s', self.args.path)
|
||||||
|
# NOTE(pabelanger): Disable caching support by default, in an effort
|
||||||
|
# to improve performance.
|
||||||
|
self.config.set('cache', 'enabled', 'false')
|
||||||
builder = Builder(self.config)
|
builder = Builder(self.config)
|
||||||
try:
|
try:
|
||||||
builder.load_files(self.args.path)
|
builder.load_files(self.args.path)
|
||||||
|
|
Loading…
Reference in New Issue