Git Product home page Git Product logo

Comments (7)

josephg avatar josephg commented on August 22, 2024

Yep, you can ignore that. Its a known bug in node-browserchannel, because of how I'm using event emitters. I'm pretty sure its fine, and I just need to call emitter.setMaxListeners() to increase the limit.

from sharejs.

nelsonsilva avatar nelsonsilva commented on August 22, 2024

I was toying with a simple sketching tool and I seem to be loosing data. It works fine locally but when deployed in a remote server some ops seem to get lost. Could this be the root of the issue ?

from sharejs.

josephg avatar josephg commented on August 22, 2024

No. The event emitter 'bug' is just that I'm attaching >10 listeners to an event, and thats usually a sign of something fishy going on.

Can you give more details about missing data? Which version are you using? Do you get the same problem with sharejs 0.5-pre?

from sharejs.

nelsonsilva avatar nelsonsilva commented on August 22, 2024

I'm using HEAD from GitHub master branch. Basically i'm appending text to a JSON object, in this case something like {id:"fdcd",d:"M100,100 L200,200"} where mouse movement events result in new path commands being inserted in "d".
I end up loosing some path commands. Will try to look further into this and give you some more details.

from sharejs.

josephg avatar josephg commented on August 22, 2024

That'd be great.

from sharejs.

nelsonsilva avatar nelsonsilva commented on August 22, 2024

Ok, stupid event looping. The receiver ended up resetting the "d" attribute that's why some commands were lost. Sorry about that. I'll close the issue since the EventEmitter warning is related to BrowserChannel.

from sharejs.

josephg avatar josephg commented on August 22, 2024

The eventemitter bug is now here:
josephg/node-browserchannel#8

from sharejs.

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.