aboutsummaryrefslogtreecommitdiff
path: root/tests/scalability.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-06-25 15:55:35 -0700
committerGarrett D'Amore <garrett@damore.org>2017-06-25 15:55:35 -0700
commitbaf4083b657cbf2b4f76af700b4aea31f143324c (patch)
tree554263c5dfa607fc917a084b5d2960d57951bc7e /tests/scalability.c
parent40e8d55fb32a04a4ef63e329d12a91b4a223b894 (diff)
downloadnng-baf4083b657cbf2b4f76af700b4aea31f143324c.tar.gz
nng-baf4083b657cbf2b4f76af700b4aea31f143324c.tar.bz2
nng-baf4083b657cbf2b4f76af700b4aea31f143324c.zip
Let scalability test startup a bit quicker.
Diffstat (limited to 'tests/scalability.c')
-rw-r--r--tests/scalability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scalability.c b/tests/scalability.c
index 1d8aeda3..0999dc78 100644
--- a/tests/scalability.c
+++ b/tests/scalability.c
@@ -47,9 +47,9 @@ client(void *arg)
return;
}
- // Sleep for up to a second before issuing requests to avoid saturating
+ // Sleep for up to a 10ms before issuing requests to avoid saturating
// the CPU with bazillions of requests at the same time.
- nng_usleep(1000000);
+ nng_usleep(10000);
for (i = 0; i < count; i++) {
// Sleep for up to a 1ms before issuing requests to