Fix for deadlock detection timeout.
This commit is contained in:
parent
f659ec545f
commit
2b8736bac6
@ -324,12 +324,11 @@ extern void srandom(int seed);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* As soon as the backend blocks on a lock, it waits this number of seconds
|
* 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
|
* before checking for a deadlock.
|
||||||
* number of seconds.
|
|
||||||
* We don't check for deadlocks just before sleeping because a deadlock is
|
* We don't check for deadlocks just before sleeping because a deadlock is
|
||||||
* a rare event, and checking is an expensive operation.
|
* 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
|
* This flag enables the use of idexes in plans generated for function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user