diff options
author | Peter Eisentraut | 2011-03-17 18:19:51 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-03-17 18:19:51 +0000 |
commit | 8c0a5eb78af00ec4720e693feaba70b5a73205d1 (patch) | |
tree | 3dfad0c28b0588722c7827faba85bb911b556d2f /src/backend | |
parent | 84abea76f60c5fd1c008b8ddf250b4bc89e288fc (diff) |
Raise maximum value of several timeout parameters
The maximum value of deadlock_timeout, max_standby_archive_delay,
max_standby_streaming_delay, log_min_duration_statement, and
log_autovacuum_min_duration was INT_MAX/1000 milliseconds, which is
about 35min, which is too short for some practical uses. Raise the
maximum value to INT_MAX; the code that uses the parameters already
supports that just fine.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/utils/misc/guc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index d1b1c174277..9ca1329e1e3 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -1436,7 +1436,7 @@ static struct config_int ConfigureNamesInt[] = GUC_UNIT_MS }, &DeadlockTimeout, - 1000, 1, INT_MAX / 1000, NULL, NULL + 1000, 1, INT_MAX, NULL, NULL }, { @@ -1446,7 +1446,7 @@ static struct config_int ConfigureNamesInt[] = GUC_UNIT_MS }, &max_standby_archive_delay, - 30 * 1000, -1, INT_MAX / 1000, NULL, NULL + 30 * 1000, -1, INT_MAX, NULL, NULL }, { @@ -1456,7 +1456,7 @@ static struct config_int ConfigureNamesInt[] = GUC_UNIT_MS }, &max_standby_streaming_delay, - 30 * 1000, -1, INT_MAX / 1000, NULL, NULL + 30 * 1000, -1, INT_MAX, NULL, NULL }, { @@ -1894,7 +1894,7 @@ static struct config_int ConfigureNamesInt[] = GUC_UNIT_MS }, &log_min_duration_statement, - -1, -1, INT_MAX / 1000, NULL, NULL + -1, -1, INT_MAX, NULL, NULL }, { @@ -1905,7 +1905,7 @@ static struct config_int ConfigureNamesInt[] = GUC_UNIT_MS }, &Log_autovacuum_min_duration, - -1, -1, INT_MAX / 1000, NULL, NULL + -1, -1, INT_MAX, NULL, NULL }, { |