bun.redis you trucker
Build and Push Image / build-backend (push) Successful in 37s
Build and Push Image / build-frontend (push) Successful in 2m27s
Build and Push Image / push (push) Successful in 1m2s

This commit is contained in:
2026-09-30 18:10:27 +07:00 Unverified
parent 246b39f972
commit 9318d588f7
+2
View File
@@ -6,6 +6,8 @@ export const redis =
? new Bun.RedisClient(undefined, { maxRetries: 0xffffffff }) ? new Bun.RedisClient(undefined, { maxRetries: 0xffffffff })
: null; : null;
if (redis) redis.onclose = () => setTimeout(redis.connect, 5000);
type PubPayload = { event?: string; data: unknown }; type PubPayload = { event?: string; data: unknown };
export class PubSubManager { export class PubSubManager {