]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Limit the number of concurrent requests in debuginfod-federation
authorMark Wielaard <mark@klomp.org>
Fri, 14 Apr 2023 16:10:48 +0000 (18:10 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 17 Apr 2023 12:17:53 +0000 (14:17 +0200)
commitce2312975812a1719a2c322aa75e97f96c4f8ca7
tree9c7444a36d970506233d49566c97cadde36320db
parentd8d1900ace46542e0fd4e0cec8af2324166109e4
tests: Limit the number of concurrent requests in debuginfod-federation

It seems doing 100 parallel requests can crash some versions of
libmicrohttpd so limit the number a little to the number of processors
times 4, with a max of 64.

      * tests/run-debuginfod-federation-metrics.sh: Use nproc * 4, or 64
      for seq curl requests.
      * tests/run-debuginfod-federation-sqlite.sh: Likewise.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/run-debuginfod-federation-metrics.sh
tests/run-debuginfod-federation-sqlite.sh