From: xangelo Date: Fri, 29 Sep 2023 16:14:07 +0000 (-0400) Subject: fix: remove clickhouse X-Git-Tag: v0.4.1~2 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=f7a8ccf85d94a18a98b46a9c95ebaa9a7539d05e;p=risinglegends.git fix: remove clickhouse --- 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();