replace tm internal websocket with long poll#1321
Conversation
This reverts commit 91a5c5a.
before tm support default "newest" cursor
before tm support waitscan by newest cursor with specific query
a2eed86 to
c893147
Compare
* for more info, see https://github.com/tendermint/tendermint/blob/85a584dd2ee3437b117d9f5e894eac70bf09aeef/internal/eventlog/eventlog.go#L192 * workaround before tm support get head cursor api only
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1321 +/- ##
==========================================
+ Coverage 55.16% 56.53% +1.36%
==========================================
Files 105 105
Lines 9608 9609 +1
==========================================
+ Hits 5300 5432 +132
+ Misses 4043 3912 -131
Partials 265 265
|
| defaultFilter := coretypes.EventFilter{Query: ""} | ||
| defaultMaxItems := 1 | ||
| if sub.after == defaultAfter { | ||
| res, resErr := es.client.Events(ctx, &coretypes.RequestEvents{ |
There was a problem hiding this comment.
Ideally job could be done within single call when tm support extra earliest or latest param like kafka on 1st call.
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs. |
|
@mmsqe closing this PR as it doesn't seem to be finished and it's been accumulated conflicts. Feel free to open a new PR against |
Got it, will try after this tendermint/tendermint#9857 get update |
Closes: crypto-org-chain/cronos#665
Description
For contributor use:
docs/) or specification (x/<module>/spec/)godoccomments.Unreleasedsection inCHANGELOG.mdFiles changedin the Github PR explorerFor admin use:
WIP,R4R,docs, etc)