Coder Social home page Coder Social logo

Comments (2)

raix avatar raix commented on June 27, 2024

At the moment each collectionFS is handed its own connection to the server (not to block the normal ddp patch traffic) I've had similar issue with reconnecting meteor apps in general - I'm convinced that this will improve. I'm also planning a complete rewrite of the client side code.

Turning off thread behaviour
The queue on the client has some thread like behaviour - This can be overwritten by:

_queueCollectionFS.spawns = 0; //0 = we dont spawn into "threads", 1..n = we spawn multiple "threads"

Should be set before initializing collectionFS
If you want you can have a look at: https://github.com/raix/Meteor-CollectionFS/blob/master/collectionFS_client.js#L24

Assign Meteor default connection to the queue
You can try to set the collectionFS connection back to the default Meteor connection:

_queueCollectionFS.connection = Meteor.default_connection;

I dont think it would solve the issue, but for the sake of debugging

After server boot - if client is not reconnecting
In console you can try:

Meteor.reconnect();

This will reconnect the default Meteor connection - if this solves the issue then its a Meteor issue - Well, Bleeding edge :)

Some quick intro, I'll try to confirm issue in a week or two - would be nice to know if Meteor is clever enough to reconnect all client connections or if focus is only on default_connection.

Regz. RaiX

from meteor-collectionfs.

raix avatar raix commented on June 27, 2024

Im closing this, if its still an issue let me know

from meteor-collectionfs.

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.