Skip to content

Commit

Permalink
removing some unsused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
brichards64 committed Jan 8, 2024
1 parent 3ceae3c commit be06a81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DataModel/DAQUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ bool DAQUtilities::RemoveService(std::string ServiceName){

int DAQUtilities::UpdateConnections(std::string ServiceName, zmq::socket_t* sock, std::map<std::string,Store*> &connections, std::string port){

boost::uuids::uuid m_UUID=boost::uuids::random_generator()();
long msg_id=0;
// boost::uuids::uuid m_UUID=boost::uuids::random_generator()();
// long msg_id=0;

zmq::socket_t Ireceive (*context, ZMQ_DEALER);
Ireceive.connect("inproc://ServiceDiscovery");
Expand Down
4 changes: 3 additions & 1 deletion UserTools/template/MyToolZMQMultiThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ bool MyToolZMQMultiThread::Execute(){
*m_log<<ML(1)<<"free threads="<<m_freethreads<<":"<<args.size()<<std::endl;
MLC();

// sleep(1); for single tool testing return true;
// sleep(1); for single tool testing

return true;
}


Expand Down
2 changes: 1 addition & 1 deletion src/NodeDaemon/NodeDaemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int main(int argc, char* argv[]){
ftp.bind(tmp.str().c_str());

zmq::pollitem_t ftpin[]={{ ftp, 0 , ZMQ_POLLIN, 0}};
zmq::pollitem_t ftpout[]={{ ftp, 0 , ZMQ_POLLOUT, 0}};
// zmq::pollitem_t ftpout[]={{ ftp, 0 , ZMQ_POLLOUT, 0}};

bool run=true;
std::vector< pid_t > pids;
Expand Down

0 comments on commit be06a81

Please sign in to comment.