diff --git a/templates/postgresql.conf.erb b/templates/postgresql.conf.erb index 494001e..b6952da 100644 --- a/templates/postgresql.conf.erb +++ b/templates/postgresql.conf.erb @@ -116,6 +116,8 @@ ssl_key_file = '<%= @pl_data_dir %><%= @pl_server_key -%>' ssl = off <% end -%> +idle_in_transaction_session_timeout = <%= @pl_idle_timeout %> + #ssl_crl_file = '' #ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers #ssl_prefer_server_ciphers = on @@ -674,7 +676,6 @@ log_timezone = 'Etc/UTC' #session_replication_role = 'origin' #statement_timeout = 0 # in milliseconds, 0 is disabled #lock_timeout = 0 # in milliseconds, 0 is disabled -idle_in_transaction_session_timeout = <%= @pl_idle_timeout %> #vacuum_freeze_min_age = 50000000 #vacuum_freeze_table_age = 150000000 #vacuum_multixact_freeze_min_age = 5000000