Fix scan delay logging.

This commit is contained in:
Arthur Britto
2012-06-20 16:32:18 -07:00
parent 9010430a1b
commit 340df2225a

View File

@@ -628,11 +628,11 @@ void ConnectionPool::scanRefresh()
tpNext = tpNow + boost::posix_time::seconds(iInterval);
iInterval *= 2;
Log(lsINFO) << str(boost::format("Pool: Scan: Now: %s %s (next %s, delay=%s)")
% mScanIp % mScanPort % tpNext % iInterval);
iInterval *= 2;
{
ScopedLock sl(theApp->getWalletDB()->getDBLock());
Database *db=theApp->getWalletDB()->getDB();