fix: remove clickhouse
authorxangelo <me@xangelo.ca>
Fri, 29 Sep 2023 16:14:07 +0000 (12:14 -0400)
committerxangelo <me@xangelo.ca>
Fri, 29 Sep 2023 16:14:07 +0000 (12:14 -0400)
src/server/events.ts
src/server/lib/clickhouse.ts [deleted file]

index df0b8194c90cec1be6a7267c7a53b1c26d3a3648..b77f556bfecf506207ae7a47a7de0b728a9483e8 100644 (file)
@@ -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 (file)
index 831f46d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-import { createClient } from '@clickhouse/client';
-
-export const clickhouse = createClient();