@@ -215,7 +215,7 @@ static char *gp_resource_manager_str;
215215
216216/* Backoff-related GUCs */
217217bool gp_enable_resqueue_priority ;
218- bool gp_enable_fork_lock ;
218+ int gp_enable_fork_sleep ;
219219int gp_resqueue_priority_local_interval ;
220220int gp_resqueue_priority_sweeper_interval ;
221221int gp_resqueue_priority_inactivity_timeout ;
@@ -1744,17 +1744,6 @@ struct config_bool ConfigureNamesBool_gp[] =
17441744 true,
17451745 NULL , NULL , NULL
17461746 },
1747-
1748- {
1749- {"gp_enable_fork_lock" , PGC_POSTMASTER , RESOURCES_MGM ,
1750- gettext_noop ("Enables priority scheduling." ),
1751- NULL
1752- },
1753- & gp_enable_fork_lock ,
1754- true,
1755- NULL , NULL , NULL
1756- },
1757-
17581747 {
17591748 {"debug_resource_group" , PGC_USERSET , DEVELOPER_OPTIONS ,
17601749 gettext_noop ("Prints resource groups debug logs." ),
@@ -3350,6 +3339,19 @@ struct config_bool ConfigureNamesBool_gp[] =
33503339
33513340struct config_int ConfigureNamesInt_gp [] =
33523341{
3342+
3343+ {
3344+ {"gp_enable_fork_sleep" , PGC_USERSET , RESOURCES_MGM ,
3345+ gettext_noop ("Enables priority scheduling." ),
3346+ gettext_noop ("Enables priority scheduling." ),
3347+ GUC_UNIT_S | GUC_NOT_IN_SAMPLE
3348+ },
3349+ & gp_enable_fork_sleep ,
3350+ 100 , 0 , 7200 ,
3351+ NULL , NULL , NULL
3352+ },
3353+
3354+
33533355 {
33543356 {"readable_external_table_timeout" , PGC_USERSET , EXTERNAL_TABLES ,
33553357 gettext_noop ("Cancel the query if no data read within N seconds." ),
0 commit comments