f06d9bbf420feb41886adbcfbc6207c4fbb6edb0,dino/endpoint/queue.py,QueueHandler,handle_server_activity,#QueueHandler#Any#Any#,141

Before Change



        logger.debug("got internally published event with verb %s id %s" % (activity.verb, activity.id))

        if activity.verb in ["ban", "kick", "remove"]:
            self.handle_local_node_events(data, activity)
        else:
            // otherwise it"s external events for possible analysis

After Change


            self.handle_server_activity(data, activity)
        except Exception as e:
            logger.error("could not handle server activity: %s" % str(e))
            logger.exception(traceback.format_exc())

    def _handle_server_activity(self, data: dict, activity: Activity) -> None:
        if activity.id in self.recently_delegated_events:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: thenetcircle/dino
Commit Name: f06d9bbf420feb41886adbcfbc6207c4fbb6edb0
Time: 2017-06-14
Author: oscar.eriks@gmail.com
File Name: dino/endpoint/queue.py
Class Name: QueueHandler
Method Name: handle_server_activity


Project Name: facebookresearch/visdom
Commit Name: 1753e20f4ba805cb94d3646d472c53bc8d990a2a
Time: 2017-10-05
Author: jju@fb.com
File Name: py/server.py
Class Name: PostHandler
Method Name: post


Project Name: mindsdb/mindsdb
Commit Name: 14071a4c987c730ac036bccc2ce693b79acb344e
Time: 2019-05-20
Author: george@cerebralab.com
File Name: integration_testing/run_tests.py
Class Name:
Method Name: test_timeseries


Project Name: shaypal5/pdpipe
Commit Name: 4823d12f995b88e2a46a8cc78a7dd0086db9f328
Time: 2018-02-12
Author: shay@zencity.io
File Name: pdpipe/__init__.py
Class Name:
Method Name: