a0a7c50bcb7455215869fe3551c3b695bb35e616,dino/endpoint/pubsub.py,PubSub,do_publish_external,#PubSub#Any#,191

Before Change



        message_type = "external"
        queue_connection = self.env.external_queue_connection
        if queue_connection is None:
            return None
        exchange = self.env.external_exchange
        queue = self.env.external_queue

        try:

After Change



    def do_publish_external(self, message: dict):
        try:
            return self.publisher.publish(message)
        except PublishException:
            logger.error("failed to publish external event multiple times! Republishing to internal queue")
            self.do_publish(message, external=False)
        except Exception as e:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: thenetcircle/dino
Commit Name: a0a7c50bcb7455215869fe3551c3b695bb35e616
Time: 2018-09-12
Author: oscar.eriks@gmail.com
File Name: dino/endpoint/pubsub.py
Class Name: PubSub
Method Name: do_publish_external


Project Name: NervanaSystems/coach
Commit Name: a849c17e46ea7188a7b6229c9f68417803e730ad
Time: 2018-11-13
Author: balaji.warft@gmail.com
File Name: rl_coach/architectures/tensorflow_components/shared_variables.py
Class Name: SharedRunningStats
Method Name: push


Project Name: RasaHQ/rasa
Commit Name: 750fdda63f8bfeae3e929a2f6947095761ce6ab3
Time: 2020-11-13
Author: t.wochinger@rasa.com
File Name: rasa/core/brokers/pika.py
Class Name: PikaEventBroker
Method Name: _publish