15cfa253cf756ee0e9d011009a870d79a4c961d1,studio/rabbit_queue.py,RMQueue,on_connection_closed,#RMQueue#Any#Any#,99

Before Change


                self._connection.ioloop.stop()
            else:
                // retry in 5 seconds
                self._logger.info("connection closed, retry in 5 seconds: " +
                                  repr(reason))
                self._connection.ioloop.call_later(5, self._reconnect)

    def _reconnect(self):

After Change


        :param Exception reason: why the connection was closed

        
        self._logger.info("connection to queue {0} closed. Reason: {1}"
                          .format(self._queue, repr(reason)))
        with self._rmq_lock:
            if self._stopping:
                // If we are here, it means we are doing
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: studioml/studio
Commit Name: 15cfa253cf756ee0e9d011009a870d79a4c961d1
Time: 2020-03-20
Author: andrei.denissov@cognizant.com
File Name: studio/rabbit_queue.py
Class Name: RMQueue
Method Name: on_connection_closed


Project Name: studioml/studio
Commit Name: 15cfa253cf756ee0e9d011009a870d79a4c961d1
Time: 2020-03-20
Author: andrei.denissov@cognizant.com
File Name: studio/rabbit_queue.py
Class Name: RMQueue
Method Name: on_channel_closed


Project Name: apple/coremltools
Commit Name: 4aa8d26f3d50cc939fd5afb876e8f8c65e0ef06a
Time: 2019-12-30
Author: kyleguss@icloud.com
File Name: coremltools/models/datatypes.py
Class Name: Dictionary
Method Name: __init__


Project Name: librosa/librosa
Commit Name: f5c5ceac4e076ef2c3983577ff915391d39b6574
Time: 2015-04-22
Author: brian.mcfee@nyu.edu
File Name: librosa/util/utils.py
Class Name:
Method Name: normalize