mirror of https://github.com/zulip/zulip.git
puppet: Add zulip.conf setting for effective_io_concurrency tuning.
This commit is contained in:
parent
f3db368a3c
commit
3ab0295061
|
@ -69,6 +69,7 @@ vm.dirty_background_ratio = 5
|
|||
$maintenance_work_mem = $total_memory_mb / 32
|
||||
|
||||
$random_page_cost = zulipconf("postgresql", "random_page_cost", undef)
|
||||
$effective_io_concurrency = zulipconf("postgresql", "effective_io_concurrency", undef)
|
||||
|
||||
file { "/etc/postgresql/${zulip::base::postgres_version}/main/postgresql.conf":
|
||||
require => Package["postgresql-${zulip::base::postgres_version}"],
|
||||
|
|
|
@ -657,3 +657,6 @@ checkpoint_completion_target = 0.7
|
|||
<% if scope["zulip::postgres_appdb_tuned::random_page_cost"] -%>
|
||||
random_page_cost = <%= scope["zulip::postgres_appdb_tuned::random_page_cost"] %>
|
||||
<% end -%>
|
||||
<% if scope["zulip::postgres_appdb_tuned::effective_io_concurrency"] -%>
|
||||
effective_io_concurrency = <%= scope["zulip::postgres_appdb_tuned::effective_io_concurrency"] %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in New Issue