|
@@ -123,6 +123,8 @@ void grpcclient::run()
|
|
|
request.set_kepptime(nkeeptime);
|
|
|
request.set_bimportant(bImportant);
|
|
|
nid++;
|
|
|
+
|
|
|
+ nlastsend = xTime.elapsed();
|
|
|
// The actual RPC.
|
|
|
Status status = stub_->upload(&context, request, &reply);
|
|
|
if (status.ok()) {
|
|
@@ -152,7 +154,7 @@ void grpcclient::run()
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- nlastsend = xTime.elapsed();
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}
|