Move pool to a separate module (to avoid importing firehose in tests)

This commit is contained in:
Alex Gleason
2023-09-05 22:00:32 -05:00
parent f2ccb5254e
commit 17c75e6761
3 changed files with 16 additions and 14 deletions

View File

@@ -3,9 +3,9 @@ import * as eventsDB from '@/db/events.ts';
import { addRelays } from '@/db/relays.ts';
import { findUser } from '@/db/users.ts';
import { type Event, LRUCache } from '@/deps.ts';
import { publish } from '@/firehose.ts';
import { isEphemeralKind } from '@/kinds.ts';
import * as mixer from '@/mixer.ts';
import { publish } from '@/pool.ts';
import { isLocallyFollowed } from '@/queries.ts';
import { Sub } from '@/subs.ts';
import { getTagSet } from '@/tags.ts';