Skip to content

Commit

Permalink
Update postgres configuration to improve tests performance
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Jan 22, 2017
1 parent 7cc97fa commit 5ee5b5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5ee5b5a

Please sign in to comment.