fix redis timeout connection on serverless (avoid init redis directly)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-22 21:49:46 +02:00
parent 4b1bf778fe
commit 89c5732efe
3 changed files with 9 additions and 13 deletions

View File

@@ -22,7 +22,6 @@ import { RedisBuffer } from './buffer';
export class ProfileBuffer extends RedisBuffer<IClickhouseProfile> {
constructor() {
super({
redis: getRedisCache(),
table: 'profiles',
batchSize: 100,
});