mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Include Meteor version details in MongoDB handshake
This commit is contained in:
@@ -191,6 +191,11 @@ MongoConnection = function (url, options) {
|
||||
self._oplogHandle = null;
|
||||
self._docFetcher = null;
|
||||
|
||||
mongoOptions.driverInfo = {
|
||||
name: 'Meteor',
|
||||
version: "METEOR_VERION" // TODO: however the package version needs to be included
|
||||
}
|
||||
|
||||
self.client = new MongoDB.MongoClient(url, mongoOptions);
|
||||
self.db = self.client.db();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user