зеркало из https://github.com/mozilla/MozDef.git
unsubscribe entire attackers collection by default
This commit is contained in:
Родитель
cc62e0b5c5
Коммит
6b162923b8
|
@ -145,9 +145,10 @@ if (Meteor.isServer) {
|
|||
});
|
||||
});
|
||||
|
||||
Meteor.publish("attackers", function () {
|
||||
return attackers.find({}, {limit:100});
|
||||
});
|
||||
//testing effect of unpublish by default
|
||||
// Meteor.publish("attackers", function () {
|
||||
// return attackers.find({}, {limit:1});
|
||||
// });
|
||||
|
||||
Meteor.publish("attacker-details",function(attackerid){
|
||||
return attackers.find({'_id': attackerid});
|
||||
|
@ -282,6 +283,6 @@ if (Meteor.isClient) {
|
|||
Meteor.subscribe("mozdefsettings");
|
||||
Meteor.subscribe("veris");
|
||||
Meteor.subscribe("kibanadashboards");
|
||||
Meteor.subscribe("attackers");
|
||||
//Meteor.subscribe("attackers");
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче