Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral. #23

Closed
thomaswhite opened this issue May 9, 2013 · 1 comment
Labels

Comments

@thomaswhite
Copy link

Node v0.10.5, Windows 7,

I am using the following code:

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?

@wcamarao
Copy link
Owner

Hi, Thomas. Isn't that coming from socket.io?

@wcamarao wcamarao closed this as completed Jun 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants