From: Bruce Momjian Date: Tue, 29 Dec 1998 18:30:33 +0000 (+0000) Subject: Fix for deadlock detection timeout. X-Git-Tag: REL6_5~857 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b8736bac64e4b628d864d24f4a0a7a9c68d3e71;p=postgresql Fix for deadlock detection timeout. --- 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