mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
Update postgres configuration to improve tests performance
This commit is contained in:
parent
7cc97fafdb
commit
5ee5b5a8f5
@ -35,3 +35,7 @@ services:
|
||||
image: redis:2.8
|
||||
postgres:
|
||||
image: postgres:9.3
|
||||
# The following turns the DB into less durable, but gains significant performance improvements for the tests run (x3
|
||||
# improvement on my personal machine). We should consider moving this into a dedicated Docker Compose configuration for
|
||||
# tests.
|
||||
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
|
||||
|
Loading…
Reference in New Issue
Block a user