Comments (2)
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.
Im closing this, if its still an issue let me know
from meteor-collectionfs.
Related Issues (20)
- Failing to remove file
- Remove "cfs_gridfs._tempstore.chunks"
- GraphicsMagick - Cannot find name 'gm' (Warning) HOT 3
- the uploaded images size is zero
- Broken links in the main documentation HOT 1
- display image from local drive HOT 1
- collectionFS HOT 1
- meteor-collectionFS Can't upload HOT 1
- Crash in meteor 1.7 on polling collection HOT 1
- file HOT 1
- Seems 0.11 throwing some errors never seen before
- How to cancel upload queue ?
- Missing copies and chunkId property as well as the chunk itself on db.cfs.attachments.filerecord entries, happens randomly
- Get error on `Meteor Production deploy` ($ meteor build....)
- How to multi download on one button
- Looking for maintainers - please reach out! HOT 12
- When mongoDB split read and write, "find after update" will be wrong HOT 2
- I can't config it to the Dropbox ! Who have videos config it ? Give me please
- Error while inserting HOT 1
- Error in method "/cfs/files/:value/:value/", Error: TypeError: Cannot read property 'ObjectID' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-collectionfs.