diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-06-25 15:55:35 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-06-25 15:55:35 -0700 |
| commit | baf4083b657cbf2b4f76af700b4aea31f143324c (patch) | |
| tree | 554263c5dfa607fc917a084b5d2960d57951bc7e /tests/scalability.c | |
| parent | 40e8d55fb32a04a4ef63e329d12a91b4a223b894 (diff) | |
| download | nng-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.c | 4 |
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 |
