zmq: log outbound message high water mark when reusing socket

This commit is contained in:
fanquake 2019-01-19 22:06:14 +08:00
parent f55808ad69
commit f1dc6932e9
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -101,6 +101,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
else else
{ {
LogPrint(BCLog::ZMQ, "zmq: Reusing socket for address %s\n", address); LogPrint(BCLog::ZMQ, "zmq: Reusing socket for address %s\n", address);
LogPrint(BCLog::ZMQ, "zmq: Outbound message high water mark for %s at %s is %d\n", type, address, outbound_message_high_water_mark);
psocket = i->second->psocket; psocket = i->second->psocket;
mapPublishNotifiers.insert(std::make_pair(address, this)); mapPublishNotifiers.insert(std::make_pair(address, this));