temporarily deferring s subscription.created event message

This commit is contained in:
Jim Cowart 2012-02-26 23:10:08 -05:00
parent 9c48bb6ad6
commit c0f25ea4b4

View file

@ -8,12 +8,14 @@ var SubscriptionDefinition = function(exchange, topic, callback) {
this.onHandled = NO_OP;
this.context = null;
postal.publish(SYSTEM_EXCHANGE, "subscription.created",
{
event: "subscription.created",
exchange: exchange,
topic: topic
});
_.defer(function() {
postal.publish(SYSTEM_EXCHANGE, "subscription.created",
{
event: "subscription.created",
exchange: exchange,
topic: topic
})
});
};
SubscriptionDefinition.prototype = {