41cd6eb2b071904133dfc44f511318c3f774cbf5,grid/pubsub/workers/tree.py,GridTree,__init__,#GridTree#,18

Before Change


        // Blocking until this node has found at least one other OpenMined node
        // This functionality queries https://github.com/OpenMined/BootstrapNodes for Anchor nodes
        // then asks those nodes for which other OpenMined nodes they know about on the network.
        self.listen_for_openmined_nodes(1)

        // listens to the network and tells other nodes about all the tasks you know about
        self.listen_to_channel(channels.list_tasks, self.list_tasks)

After Change


        // Blocking until this node has found at least one other OpenMined node
        // This functionality queries https://github.com/OpenMined/BootstrapNodes for Anchor nodes
        // then asks those nodes for which other OpenMined nodes they know about on the network.
        self.processes["listen_for_openmined_nodes"] = ListenForOpenMinedNodesProcess(self,min_om_nodes=1)

        // listens to the network and tells other nodes about all the tasks you know about
        self.listen_to_channel(channels.list_tasks, self.list_tasks)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: OpenMined/Grid
Commit Name: 41cd6eb2b071904133dfc44f511318c3f774cbf5
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/tree.py
Class Name: GridTree
Method Name: __init__


Project Name: OpenMined/Grid
Commit Name: 41cd6eb2b071904133dfc44f511318c3f774cbf5
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/compute.py
Class Name: GridCompute
Method Name: __init__


Project Name: OpenMined/Grid
Commit Name: bab459a1b22a119700573e5ae27b40b419ee4b5f
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/tree.py
Class Name: GridTree
Method Name: __init__


Project Name: OpenMined/Grid
Commit Name: bab459a1b22a119700573e5ae27b40b419ee4b5f
Time: 2018-02-27
Author: liamtrask@gmail.com
File Name: grid/pubsub/workers/compute.py
Class Name: GridCompute
Method Name: __init__