summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-06 16:45:03 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-06 16:45:03 +0300
commit78599f0d3f71953914880138fcfcdd929951fd07 (patch)
tree209166bf93ef885cc7a65afb8ec26203b93cbb29 /src/nxt_process.c
parent2220b8258f116d12f9cf6eb4133f41ec374b75f5 (diff)
downloadunit-78599f0d3f71953914880138fcfcdd929951fd07.tar.gz
unit-78599f0d3f71953914880138fcfcdd929951fd07.tar.bz2
Tests: fixing racing condition in ASGI threads test.
ASGI threads read all the requests from the queue before start processing it. This why test need to wait a little to let the ASGI thread start request processing and block. In virtual environment any thread or process may be delayed and only method to avoid racing is a reasonable sleep increase.
Diffstat (limited to 'src/nxt_process.c')
0 files changed, 0 insertions, 0 deletions