Increase waitToken interval for channel creation

Creating GXS groups imply a bunch of crypto operations that require lot
  of time expecially on embedded device, channel creation was reported
  as failed while it was still pending.
Reduce too long lines.
Print API error messages also on std::cerr.
This commit is contained in:
Gioacchino Mazzurco 2019-04-12 22:14:16 +02:00
parent 81f73aaf44
commit 4d703b9df9
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
4 changed files with 121 additions and 66 deletions

View file

@ -185,9 +185,10 @@ class NetInterface;
**/
class PQInterface: public RateInterface
{
public:
explicit PQInterface(const RsPeerId &id) :traf_in(0), traf_out(0),peerId(id) { return; }
virtual ~PQInterface() { return; }
public:
explicit PQInterface(const RsPeerId &id) :
traf_in(0), traf_out(0), peerId(id) {}
virtual ~PQInterface() {}
/*!
* allows user to send RsItems to a particular facility (file, network)