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

Commit 2b8736b

Browse files
committed
Fix for deadlock detection timeout.
1 parent f659ec5 commit 2b8736b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/include/config.h.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,11 @@ extern void srandom(int seed);
324324

325325
/*
326326
* As soon as the backend blocks on a lock, it waits this number of seconds
327-
* before checking for a deadlock. If not, it keeps checking every this
328-
* number of seconds.
327+
* before checking for a deadlock.
329328
* We don't check for deadlocks just before sleeping because a deadlock is
330329
* a rare event, and checking is an expensive operation.
331330
*/
332-
#define DEADLOCK_CHECK_TIMER 60
331+
#define DEADLOCK_CHECK_TIMER 1
333332

334333
/*
335334
* This flag enables the use of idexes in plans generated for function

0 commit comments

Comments
 (0)