{
set_rand_seed();
nonce_ = (unsigned int)random();
- IF_LEVEL(0) LOG("created with nonce " << nonce_);
+ IF_LEVEL(2) LOG("created with nonce " << nonce_);
reg(rpc_const::bind, &rpcs::rpcbind, this);
dispatchpool_ = unique_ptr<ThrPool>(new ThrPool(6, false));
switch (stat) {
case NEW: // new request
- if (counting_){
+ if (counting_)
updatestat(proc);
- }
rh.ret = (*f)(req, rep);
if (rh.ret == rpc_const::unmarshal_args_failure) {
}
int rpcs::rpcbind(unsigned int &r, int) {
- IF_LEVEL(0) LOG("called return nonce " << nonce_);
+ IF_LEVEL(2) LOG("called return nonce " << nonce_);
r = nonce_;
return 0;
}