Skip to content

Commit 84b3af5

Browse files
author
Comma Device
committed
comment out the debugging
1 parent 4b9c942 commit 84b3af5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

messaging/impl_msgq.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void MSGQSubSocket::connect(Context *context, std::string endpoint, std::string
6464

6565
timeout = -1;
6666

67-
std::cout << "MSGQ SUB: " << endpoint << std::endl;
67+
//std::cout << "MSGQ SUB: " << endpoint << std::endl;
6868
}
6969

7070

@@ -137,7 +137,7 @@ void MSGQPubSocket::connect(Context *context, std::string endpoint){
137137
msgq_new_queue(q, endpoint.c_str(), DEFAULT_SEGMENT_SIZE);
138138
msgq_init_publisher(q);
139139

140-
std::cout << "MSGQ PUB: " << endpoint << std::endl;
140+
//std::cout << "MSGQ PUB: " << endpoint << std::endl;
141141
}
142142

143143
int MSGQPubSocket::sendMessage(Message *message){

messaging/impl_zmq.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void ZMQSubSocket::connect(Context *context, std::string endpoint, std::string a
7171
full_endpoint = "tcp://" + address + ":";
7272
full_endpoint += std::to_string(get_port(endpoint));
7373

74-
std::cout << "ZMQ SUB: " << full_endpoint << std::endl;
74+
//std::cout << "ZMQ SUB: " << full_endpoint << std::endl;
7575

7676
assert(zmq_connect(sock, full_endpoint.c_str()) == 0);
7777
}
@@ -109,7 +109,7 @@ void ZMQPubSocket::connect(Context *context, std::string endpoint){
109109
full_endpoint = "tcp://*:";
110110
full_endpoint += std::to_string(get_port(endpoint));
111111

112-
std::cout << "ZMQ PUB: " << full_endpoint << std::endl;
112+
//std::cout << "ZMQ PUB: " << full_endpoint << std::endl;
113113

114114
assert(zmq_bind(sock, full_endpoint.c_str()) == 0);
115115
}

0 commit comments

Comments
 (0)