From: Dessalines Date: Tue, 16 Aug 2022 12:22:29 +0000 (-0400) Subject: Add postgres auto-explain for dev testing. (#2399) X-Git-Url: http://these/git/%22https:/nerdica.net/photo/contact/80/%7BmarkdownHelpUrl%7D?a=commitdiff_plain;h=f8781516487197b6c1128d55e2cbe24e62091da7;p=lemmy.git Add postgres auto-explain for dev testing. (#2399) * Add postgres auto-explain for dev testing. * add newline * fix indent Co-authored-by: Nutomic --- diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 17787171..42e8afa9 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -50,6 +50,7 @@ services: volumes: - ./volumes/postgres:/var/lib/postgresql/data restart: always + command: ["postgres", "-c", "session_preload_libraries=auto_explain", "-c", "auto_explain.log_min_duration=5ms", "-c", "auto_explain.log_analyze=true"] pictrs: image: asonix/pictrs:0.3.1