mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Comment only. Record idea about unblocking subs.
This commit is contained in:
@@ -839,6 +839,13 @@ var Subscription = function (
|
||||
|
||||
_.extend(Subscription.prototype, {
|
||||
_runHandler: function () {
|
||||
// XXX should we unblock() here? Either before running the publish
|
||||
// function, or before running _publishCursor.
|
||||
//
|
||||
// Right now, each publish function blocks all future publishes and
|
||||
// methods waiting on data from Mongo (or whatever else the function
|
||||
// blocks on). This probably slows page load in common cases.
|
||||
|
||||
var self = this;
|
||||
try {
|
||||
var res = maybeAuditArgumentChecks(
|
||||
|
||||
Reference in New Issue
Block a user