GithubHelp home page GithubHelp logo

Comments (2)

mksong76 avatar mksong76 commented on September 17, 2024

@bbist It's impossible to send WebSocket messages skipping some blocks according to the codes.

While it makes a message to send, it uses h variable in the loop.

br.bn.Height = common.HexInt64{Value: h}

And it's increased at the following line

There are two breaks before sending messages, and all of them result in disconnection.
So, it prints blocks with proper heights until it's disconnected.

I think that it may come from other parts not by GOLOOP.

Please check yours more closely.

from goloop.

bbist avatar bbist commented on September 17, 2024

Thanks for your response @mksong-icon,

Yes. That is strange to note. Logically it shouldn't ever miss a notification. As it is hard to reproduce, I'm not sure how to move ahead with this.
What we've done in Relay for now is to check for the missing events and reconnect while logging the exact reason for reconnection. We'll run this in production and see if we observe such an incident. We'll get back if we face this again.

from goloop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.