projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364df29
)
some more db tuning
author
Sam
<sam.saffron@gmail.com>
Tue, 13 Dec 2016 03:54:14 +0000
(14:54 +1100)
committer
Sam
<sam.saffron@gmail.com>
Tue, 13 Dec 2016 03:54:14 +0000
(14:54 +1100)
image/discourse_dev/postgres_dev.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/image/discourse_dev/postgres_dev.template.yml
b/image/discourse_dev/postgres_dev.template.yml
index 58831e859207baf7f773a94541bc065ad9bb1e07..ef40a45b10c1bd15cbb8bc83250e31e1bdc29b4c 100644
(file)
--- a/
image/discourse_dev/postgres_dev.template.yml
+++ b/
image/discourse_dev/postgres_dev.template.yml
@@
-1,4
+1,15
@@
run:
+
+ - replace:
+ filename: "/etc/postgresql/9.5/main/postgresql.conf"
+ from: /#?fullpage_writes *=.*/
+ to: "fullpage_writes = off"
+
+ - replace:
+ filename: "/etc/postgresql/9.5/main/postgresql.conf"
+ from: /#?fsync *=.*/
+ to: "fsync = off"
+
- exec:
background: true
# use fast shutdown for pg