From f7a8ccf85d94a18a98b46a9c95ebaa9a7539d05e Mon Sep 17 00:00:00 2001 From: xangelo Date: Fri, 29 Sep 2023 12:14:07 -0400 Subject: [PATCH] fix: remove clickhouse --- src/server/events.ts | 1 - src/server/lib/clickhouse.ts | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 src/server/lib/clickhouse.ts diff --git a/src/server/events.ts b/src/server/events.ts index df0b819..b77f556 100644 --- a/src/server/events.ts +++ b/src/server/events.ts @@ -4,7 +4,6 @@ import { CreatedEvent, Event, EventName } from '../shared/event'; import { isEqual } from 'lodash'; import { logger } from './lib/logger'; import { EVENT_FLUSH_INTERVAL, EVENT_SECOND_BUCKET } from '../shared/constants'; -import { clickhouse } from './lib/clickhouse'; const eventBuffer: CreatedEvent[] = []; const maxToAdd = 10; diff --git a/src/server/lib/clickhouse.ts b/src/server/lib/clickhouse.ts deleted file mode 100644 index 831f46d..0000000 --- a/src/server/lib/clickhouse.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { createClient } from '@clickhouse/client'; - -export const clickhouse = createClient(); -- 2.25.1