firehose: update comment
This commit is contained in:
parent
16ba224124
commit
cd5cf96886
|
@ -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…
Reference in New Issue