summaryrefslogtreecommitdiff
path: root/app/sur/nostr.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'app/sur/nostr.hoon')
-rw-r--r--app/sur/nostr.hoon4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/sur/nostr.hoon b/app/sur/nostr.hoon
index 2f8296b..b363cb9 100644
--- a/app/sur/nostr.hoon
+++ b/app/sur/nostr.hoon
@@ -33,7 +33,9 @@ $: start=@da
reqs=(map sub-id event-stats)
==
+$ event-stats
- [filters=(list filter) received=event-count]
+ :: if not ongoing we kill the subscription on %eose
+ :: if chunked we trigger a new subscription on %eose
+ [filters=(list filter) received=event-count ongoing=? chunked=(list filter)]
+$ sub-id @t
+$ event-count @ud