- int ret = c->call_timeout(24, rpcc::to(3000), rep, i);
+ int ret = c->call_timeout(24, rpcc::to(300), rep, i);
cout << " -- string concat RPC .. ok" << endl;
// small request, big reply (perhaps req via UDP, reply via TCP)
cout << " -- string concat RPC .. ok" << endl;
// small request, big reply (perhaps req via UDP, reply via TCP)
- intret = c->call_timeout(25, rpcc::to(200000), rep, 70000);
+ intret = c->call_timeout(25, rpcc::to(20000), rep, 70000);
VERIFY(intret == 0);
VERIFY(rep.size() == 70000);
cout << " -- small request, big reply .. ok" << endl;
// specify a timeout value to an RPC that should succeed (udp)
int xx = 0;
VERIFY(intret == 0);
VERIFY(rep.size() == 70000);
cout << " -- small request, big reply .. ok" << endl;
// specify a timeout value to an RPC that should succeed (udp)
int xx = 0;
- intret = c->call_timeout(23, rpcc::to(3000), xx, 77);
+ intret = c->call_timeout(23, rpcc::to(300), xx, 77);
- c->call_timeout(22, rpcc::to(3000), rep2, arg, (string)"x");
+ c->call_timeout(22, rpcc::to(300), rep2, arg, (string)"x");