Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d19fc4c

Browse files
committed
Reduce DEF_MAXBACKENDS to 32 so that default configuration
is less likely to fail for lack of semaphores.
1 parent 731603a commit d19fc4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,9 @@ EOF
890890
echo "$ac_t""$with_maxbackends" 1>&6
891891
else
892892
cat >> confdefs.h <<EOF
893-
#define DEF_MAXBACKENDS 64
893+
#define DEF_MAXBACKENDS 32
894894
EOF
895-
echo "$ac_t""64" 1>&6
895+
echo "$ac_t""32" 1>&6
896896

897897
fi
898898

src/configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,13 @@ AC_ARG_WITH(
255255
AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432)
256256
)
257257

258-
dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 64.
258+
dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 32.
259259
AC_MSG_CHECKING(setting DEF_MAXBACKENDS)
260260
AC_ARG_WITH(
261261
maxbackends,
262262
[ --with-maxbackends=<n> set default maximum number of server processes ],
263263
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends),
264-
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 64) AC_MSG_RESULT(64)
264+
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 32) AC_MSG_RESULT(32)
265265
)
266266

267267
dnl We exclude tcl support unless user says --with-tcl

0 commit comments

Comments
 (0)