File: less-concurrency

package info (click to toggle)
libpg-query 17-6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,420 kB
  • sloc: ansic: 171,152; sql: 78,873; ruby: 1,547; makefile: 266; cpp: 221
file content (13 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Some of the smaller Debian buildds don't like running 500 threads at once.

--- a/test/concurrency.c
+++ b/test/concurrency.c
@@ -12,7 +12,7 @@
 #ifdef USE_VALGRIND
 #define THREAD_COUNT 50
 #else
-#define THREAD_COUNT 500
+#define THREAD_COUNT 50
 #endif
 
 void* test_runner(void*);