Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c0a5eb

Browse files
committed
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, andlog_autovacuum_min_duration was INT_MAX/1000 milliseconds, which isabout 35min, which is too short for some practical uses. Raise themaximum value to INT_MAX; the code that uses the parameters alreadysupports that just fine.
1 parent84abea7 commit8c0a5eb

File tree

1 file changed

+5
-5
lines changed
  • src/backend/utils/misc

1 file changed

+5
-5
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ static struct config_int ConfigureNamesInt[] =
14361436
GUC_UNIT_MS
14371437
},
14381438
&DeadlockTimeout,
1439-
1000,1,INT_MAX /1000,NULL,NULL
1439+
1000,1,INT_MAX,NULL,NULL
14401440
},
14411441

14421442
{
@@ -1446,7 +1446,7 @@ static struct config_int ConfigureNamesInt[] =
14461446
GUC_UNIT_MS
14471447
},
14481448
&max_standby_archive_delay,
1449-
30*1000,-1,INT_MAX /1000,NULL,NULL
1449+
30*1000,-1,INT_MAX,NULL,NULL
14501450
},
14511451

14521452
{
@@ -1456,7 +1456,7 @@ static struct config_int ConfigureNamesInt[] =
14561456
GUC_UNIT_MS
14571457
},
14581458
&max_standby_streaming_delay,
1459-
30*1000,-1,INT_MAX /1000,NULL,NULL
1459+
30*1000,-1,INT_MAX,NULL,NULL
14601460
},
14611461

14621462
{
@@ -1894,7 +1894,7 @@ static struct config_int ConfigureNamesInt[] =
18941894
GUC_UNIT_MS
18951895
},
18961896
&log_min_duration_statement,
1897-
-1,-1,INT_MAX /1000,NULL,NULL
1897+
-1,-1,INT_MAX,NULL,NULL
18981898
},
18991899

19001900
{
@@ -1905,7 +1905,7 @@ static struct config_int ConfigureNamesInt[] =
19051905
GUC_UNIT_MS
19061906
},
19071907
&Log_autovacuum_min_duration,
1908-
-1,-1,INT_MAX /1000,NULL,NULL
1908+
-1,-1,INT_MAX,NULL,NULL
19091909
},
19101910

19111911
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp