Mitar
Mitar
I think this was an attempt, yes.
@hwillson: Oh, how we transfer bounties?
Are you sure mergebox is the best place for this? Why not observe demultiplexer's `_cache` which also contains documents?
See [here](https://github.com/meteor/meteor/blob/devel/packages/mongo/observe_multiplex.js#L17). So I think you can get this from observe's handle: `handle._multiplexer._cache`.
I use [this script](https://github.com/tozd/docker-meteor/blob/master/etc/service/meteor/wait_db.js) to wait in my [Docker image](https://github.com/tozd/docker-meteor).
But I agree. The same as how Meteor should reconnect during run, why not also try to reconnect at startup? But `Meteor.startup` should run only after initial connection is established.
I am not sure if it is really suitable. For core this should probably somewhere deep inside Meteor.
Or to have multiple DDP connections to multiple servers.
I see SockJS as a polyfill for websockets. Instead of replacing it, I think it would be better if we just extend the polyfill with support for other options. What...
Some arguments against socket.io and for sock.js: https://github.com/rethinkdb/horizon/issues/413