Skip to content

Commit

Permalink
add timesecond
Browse files Browse the repository at this point in the history
  • Loading branch information
pyar6329 committed Aug 8, 2024
1 parent dc93403 commit 68044bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .envrc.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ export OUTPUT_S3_URL="s3://<bucket_name>/$(TZ=JST-9 date '+%Y%m%d')/${COMPRESSED

export CHECK_HOSTNAME="localhost"
export CHECK_PORT="5432"

export MIN_DURATION="1" # milli seconds
4 changes: 2 additions & 2 deletions run_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function run_postgres {
-c log_connections=on \
-c log_disconnections=on \
-c shared_preload_libraries='auto_explain' \
-c auto_explain.log_min_duration=0 \
-c auto_explain.log_min_duration="${MIN_DURATION:-0}" \
-c auto_explain.log_analyze=on \
-c auto_explain.log_buffers=on \
-c auto_explain.log_format=text \
Expand Down Expand Up @@ -86,7 +86,7 @@ function run_postgres {
-c log_connections=on \
-c log_disconnections=on \
-c shared_preload_libraries='auto_explain' \
-c auto_explain.log_min_duration=0 \
-c auto_explain.log_min_duration="${MIN_DURATION:-0}" \
-c auto_explain.log_analyze=on \
-c auto_explain.log_buffers=on \
-c auto_explain.log_format=text \
Expand Down

0 comments on commit 68044bb

Please sign in to comment.