upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
authorAsai Toshiya <to.asai.60@gmail.com>2023-07-19 12:34:07 +0900
committerfiatjaf_ <fiatjaf@gmail.com>2023-07-21 10:33:05 -0300
commitb503f8a92b22be3037b8115fe3e644865a4fa155 (patch)
tree2cec04c3916e28278e8269ab5f0476d3b134db12 /01.md
parentfe2009b459c4dfcef158e745847ef01376b1d12a (diff)
Clarify sort order when specified limit
Diffstat (limited to '01.md')
-rw-r--r--01.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index 01cfcc1..f607ca2 100644
--- a/01.md
+++ b/01.md
@@ -84,7 +84,7 @@ All conditions of a filter that are specified must match for an event for it to
84 84
85A `REQ` message may contain multiple filters. In this case, events that match any of the filters are to be returned, i.e., multiple filters are to be interpreted as `||` conditions. 85A `REQ` message may contain multiple filters. In this case, events that match any of the filters are to be returned, i.e., multiple filters are to be interpreted as `||` conditions.
86 86
87The `limit` property of a filter is only valid for the initial query and can be ignored afterward. When `limit: n` is present it is assumed that the events returned in the initial query will be the latest `n` events. It is safe to return less events than `limit` specifies, but it is expected that relays do not return (much) more events than requested so clients don't get unnecessarily overwhelmed by data. 87The `limit` property of a filter is only valid for the initial query and can be ignored afterward. When `limit: n` is present it is assumed that the events returned in the initial query will be the last `n` events ordered by the `created_at`. It is safe to return less events than `limit` specifies, but it is expected that relays do not return (much) more events than requested so clients don't get unnecessarily overwhelmed by data.
88 88
89### From relay to client: sending events and notices 89### From relay to client: sending events and notices
90 90