This commit is contained in:
2023-04-08 05:44:23 +01:00
parent dfb082ad51
commit aa25c43795
2 changed files with 34 additions and 26 deletions
+5
View File
@@ -106,3 +106,8 @@ func (b *BaseClient) enableCache() {
b.Logger.Error(b, "Error while creating cache client;", "error", err.Error())
}
}
func (b *BaseClient) disableCache() {
b.cache.enabled = false
b.cache.client = nil
}