mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
firehose: update comment
This commit is contained in:
parent
16ba224124
commit
cd5cf96886
1 changed files with 3 additions and 3 deletions
|
|
@ -10,9 +10,9 @@ import type { SignedEvent } from '@/event.ts';
|
||||||
const relays = await getAllRelays();
|
const relays = await getAllRelays();
|
||||||
const pool = new RelayPool(relays);
|
const pool = new RelayPool(relays);
|
||||||
|
|
||||||
// This file watches all events on your Ditto relay and triggers
|
// This file watches events on all known relays and performs
|
||||||
// side-effects based on them. This can be used for things like
|
// side-effects based on them, such as trending hashtag tracking
|
||||||
// notifications, trending hashtag tracking, etc.
|
// and storing events for notifications and the home feed.
|
||||||
pool.subscribe(
|
pool.subscribe(
|
||||||
[{ kinds: [1], since: nostrNow() }],
|
[{ kinds: [1], since: nostrNow() }],
|
||||||
relays,
|
relays,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue