From 2b8736bac64e4b628d864d24f4a0a7a9c68d3e71 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 29 Dec 1998 18:30:33 +0000 Subject: [PATCH] Fix for deadlock detection timeout. --- src/include/config.h.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/include/config.h.in b/src/include/config.h.in index ff0431383c..3a54c89c1f 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -324,12 +324,11 @@ extern void srandom(int seed); /* * As soon as the backend blocks on a lock, it waits this number of seconds - * before checking for a deadlock. If not, it keeps checking every this - * number of seconds. + * before checking for a deadlock. * We don't check for deadlocks just before sleeping because a deadlock is * a rare event, and checking is an expensive operation. */ -#define DEADLOCK_CHECK_TIMER 60 +#define DEADLOCK_CHECK_TIMER 1 /* * This flag enables the use of idexes in plans generated for function -- 2.40.0