Files
tendermint/rpc
mmsqe 1b1ba41720 backport: set a minimum long-polling interval for Events in rpc (#8050) (#9768)
* rpc: set a minimum long-polling interval for Events (#8050)

Since the goal of reading events at the head of the event log is to satisfy a
subscription style interface, there is no point in allowing head polling with
no wait interval. The pagination case already bypasses long polling, so the
extra option is unneessary.

Set a minimum default long-polling interval for the head case.
Add a test for minimum delay.

* fix doc

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-12-07 18:53:39 -05:00
..
2022-09-01 14:35:07 +02:00