mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make observe driver facts names consistent
This commit is contained in:
committed by
Nick Martin
parent
de6fb4276d
commit
fd215633cc
@@ -26,7 +26,7 @@ OplogObserveDriver = function (options) {
|
||||
self._stopHandles = [];
|
||||
|
||||
Package.facts && Package.facts.Facts.incrementServerFact(
|
||||
"mongo-livedata", "oplog-observers", 1);
|
||||
"mongo-livedata", "observe-drivers-oplog", 1);
|
||||
|
||||
self._phase = PHASE.QUERYING;
|
||||
|
||||
@@ -435,7 +435,7 @@ _.extend(OplogObserveDriver.prototype, {
|
||||
self._listenersHandle = null;
|
||||
|
||||
Package.facts && Package.facts.Facts.incrementServerFact(
|
||||
"mongo-livedata", "oplog-observers", -1);
|
||||
"mongo-livedata", "observe-drivers-oplog", -1);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ PollingObserveDriver = function (options) {
|
||||
self._unthrottledEnsurePollIsScheduled();
|
||||
|
||||
Package.facts && Package.facts.Facts.incrementServerFact(
|
||||
"mongo-livedata", "mongo-pollsters", 1);
|
||||
"mongo-livedata", "observe-drivers-polling", 1);
|
||||
};
|
||||
|
||||
_.extend(PollingObserveDriver.prototype, {
|
||||
@@ -174,6 +174,6 @@ _.extend(PollingObserveDriver.prototype, {
|
||||
self._stopped = true;
|
||||
_.each(self._stopCallbacks, function (c) { c(); });
|
||||
Package.facts && Package.facts.Facts.incrementServerFact(
|
||||
"mongo-livedata", "mongo-pollsters", -1);
|
||||
"mongo-livedata", "observe-drivers-polling", -1);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user