fix: updated docker file with redis and minio containers (#4909)

This commit is contained in:
victorvhs017
2025-03-17 06:33:02 -03:00
committed by GitHub
parent c2d237a99a
commit aa910ca3f0
8 changed files with 58 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ const createTimeoutPromise = (ms, rejectReason) => {
CacheHandler.onCreation(async () => {
let client;
if (process.env.REDIS_URL && process.env.ENTERPRISE_LICENSE_KEY) {
if (process.env.REDIS_URL) {
try {
// Create a Redis client.
client = createClient({
@@ -45,8 +45,6 @@ CacheHandler.onCreation(async () => {
});
}
}
} else if (process.env.REDIS_URL) {
console.log("Redis clustering requires an Enterprise License. Falling back to LRU cache.");
}
/** @type {import("@neshca/cache-handler").Handler | null} */