mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 12:02:55 +00:00 
			
		
		
		
	Refactor ServerUplinkConnector to avoid passing redundant data
This commit is contained in:
		@@ -26,6 +26,7 @@ class ServerUplinkConnector(ZMQConnectorBase):
 | 
			
		||||
        self._zmq_push_socket.connect('tcp://localhost:{}'.format(tfwenv.RECEIVER_PORT))
 | 
			
		||||
 | 
			
		||||
    def send(self, key, response):
 | 
			
		||||
        response['key'] = key
 | 
			
		||||
        self._zmq_push_socket.send_multipart(serialize_all(key, response))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user