From 15425cdc322363413a9d0cc2a6775be596c423c9 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Tue, 5 Nov 2024 15:56:42 +0100 Subject: [PATCH] ci: remove redis start command --- .gitea/workflows/test.yaml | 2 +- apps/api/src/utils/redis.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a44f1a2..4bef213 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: services: redis: image: redis:7.4.1-alpine - command: redis-server --save 20 1 --loglevel warning --requirepass development + # command: redis-server --save 20 1 --loglevel warning --requirepass development ports: - 6379:6379 diff --git a/apps/api/src/utils/redis.ts b/apps/api/src/utils/redis.ts index 619b587..6bb2c2e 100644 --- a/apps/api/src/utils/redis.ts +++ b/apps/api/src/utils/redis.ts @@ -5,7 +5,5 @@ export const redis = createClient({ url: import.meta.env.REDIS_URL, }) -console.log(import.meta.env) - redis.on('error', (err) => console.log('Redis Client Error', err)) await redis.connect()