Skip to content

Commit 5b73ad7

Browse files
committed
fix: variable connection with sqlx
1 parent 8ce05ae commit 5b73ad7

4 files changed

Lines changed: 331 additions & 367 deletions

File tree

.env.sample

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ POSTGRES_PASS=dlcdevkit
44
POSTGRES_HOST=localhost:5432
55
POSTGRES_DB=ddk
66
DATABASE_URL=postgres://dlcdevkit:dlcdevkit@localhost:5432/ddk
7+
# Max size of the Postgres connection pool. Defaults to 5; raise to 20+ for production.
8+
DATABASE_MAX_CONNECTIONS=5
79

810
ESPLORA_HOST=http://localhost:30000
11+
# Esplora request timeout in seconds. Defaults to 5.
12+
ESPLORA_TIMEOUT_SECONDS=5
913

1014
BITCOIND_USER=dlcdevkit
1115
BITCOIND_PASS=dlcdevkit

0 commit comments

Comments
 (0)