Oddbean new post about | logout
 What tests would you want to see in a relay test suite? 
 Send random replaceables and check if the event is actually there after it replies with OK: true. I am seeing a lot of missing events from strfry. The relay replies with OK as if the event was inserted but, when you search, it's not there. 
 Got it. Will do. 
 Not exactly sure how to handle it but … rate limiting that doesn’t break the spec?

Ex: IIRC, nos.lol would “rate limit” my queries by
1) sending a NOTICE to “slow down”. (Notably absent, any subscription ID.)
2) NOT sending an EOSE, CLOSE, or any events for the query that caused triggered the limit.

… Which can make a naive client hang forever waiting for messages that are never coming.  
 sweet thanks 
 will do.