reduce log

This commit is contained in:
sehraf 2020-11-27 20:09:59 +01:00
parent 8a2efe3e58
commit aef993de55
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -29,7 +29,7 @@ static const std::string kConfigKeyBOBAddr = "BOB_ADDR";
static constexpr bool kDefaultSAM3Enable = false; static constexpr bool kDefaultSAM3Enable = false;
RS_SET_CONTEXT_DEBUG_LEVEL(4) RS_SET_CONTEXT_DEBUG_LEVEL(2)
static void inline doSleep(std::chrono::duration<long, std::ratio<1,1000>> timeToSleepMS) { static void inline doSleep(std::chrono::duration<long, std::ratio<1,1000>> timeToSleepMS) {
std::this_thread::sleep_for(timeToSleepMS); std::this_thread::sleep_for(timeToSleepMS);
@ -48,7 +48,7 @@ p3I2pSam3::p3I2pSam3(p3PeerMgr *peerMgr) :
mSetting.enable = kDefaultSAM3Enable; mSetting.enable = kDefaultSAM3Enable;
mSetting.session = nullptr; mSetting.session = nullptr;
libsam3_debug = 1; libsam3_debug = 0;
} }
bool p3I2pSam3::isEnabled() bool p3I2pSam3::isEnabled()