You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] maxLimit setting is advertised in NIP-11 relay info but never enforced on subscription queries #598
Describe the bug
The relay exposes limits.client.subscription.maxLimit (default: 5000) in the NIP-11 relay information document via root-request-handler.ts:90, telling clients that at most 5,000 events will be returned per query. However, this value is never actually enforced anywhere in the query path.
To Reproduce
Steps to reproduce the behavior:
Start a nostream relay with default settings (maxLimit: 5000 in default-settings.yaml)
Activity