You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var store = new MongoStore({
collectionPrefix: 'socket.io.',
streamCollection: 'stream',
storageCollection: 'storage',
nodeId: null, // id that uniquely identifies this node
size: 1000000, // max size in bytes for capped collection
num: null, // max number of documents inside of capped collection
// url: 'mongodb://localhost:27017/yourdb',
host: 'localhost',
port: 27017,
db: 'socketio'
});
store.on('error', console.error);
io.set('store', store);
The last line produces multiple warnings:
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
Any ideas?
The text was updated successfully, but these errors were encountered:
Node v0.10.5, Windows 7,
I am using the following code:
The last line produces multiple warnings:
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
Any ideas?
The text was updated successfully, but these errors were encountered: