Rename loopback to firehose
This commit is contained in:
parent
988a4e8c28
commit
1b8bb78717
|
@ -1,6 +1,6 @@
|
||||||
import { type Context, cors, type Handler, Hono, type HonoEnv, logger, type MiddlewareHandler } from '@/deps.ts';
|
import { type Context, cors, type Handler, Hono, type HonoEnv, logger, type MiddlewareHandler } from '@/deps.ts';
|
||||||
import { type Event } from '@/event.ts';
|
import { type Event } from '@/event.ts';
|
||||||
import '@/loopback.ts';
|
import '@/firehose.ts';
|
||||||
|
|
||||||
import { actorController } from './controllers/activitypub/actor.ts';
|
import { actorController } from './controllers/activitypub/actor.ts';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -20,9 +20,9 @@ relay.subscribe(
|
||||||
undefined,
|
undefined,
|
||||||
);
|
);
|
||||||
|
|
||||||
/** Handle events through the loopback pipeline. */
|
/** Handle events through the firehose pipeline. */
|
||||||
async function handleEvent(event: SignedEvent): Promise<void> {
|
async function handleEvent(event: SignedEvent): Promise<void> {
|
||||||
console.info('loopback event:', event.id);
|
console.info('firehose event:', event.id);
|
||||||
|
|
||||||
trackHashtags(event);
|
trackHashtags(event);
|
||||||
|
|
Loading…
Reference in New Issue