mirror of https://github.com/grpc/grpc-node.git
1000 concurrent calls is excessive
This commit is contained in:
parent
e7ca0da409
commit
86d6291925
|
|
@ -79,7 +79,7 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
|
||||||
server.forceShutdown();
|
server.forceShutdown();
|
||||||
});
|
});
|
||||||
it('Should be able to start many concurrent calls', function(done) {
|
it('Should be able to start many concurrent calls', function(done) {
|
||||||
const callCount = 1000;
|
const callCount = 100;
|
||||||
done = multiDone(done, callCount);
|
done = multiDone(done, callCount);
|
||||||
for (let i = 0; i < callCount; i++) {
|
for (let i = 0; i < callCount; i++) {
|
||||||
client.unaryCall({}, (error, result) => {
|
client.unaryCall({}, (error, result) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue