actually use postgres config
test / test (push) Failing after 12s
Details
test / test (push) Failing after 12s
Details
This commit is contained in:
parent
375ea8ff2d
commit
d9864bd9ff
|
@ -1,6 +1,7 @@
|
|||
import app/config.{type Context, Context}
|
||||
import app/router
|
||||
import gleam/erlang/process
|
||||
import gleam/option.{Some}
|
||||
import gleam/pgo
|
||||
import ids/cuid
|
||||
import mist
|
||||
|
@ -14,6 +15,10 @@ fn with_context(continue: fn(Context) -> Nil) -> Nil {
|
|||
pgo.Config(
|
||||
..pgo.default_config(),
|
||||
host: config.postgres_host,
|
||||
user: config.postgres_user,
|
||||
password: Some(config.postgres_password),
|
||||
pool_size: config.postgres_pool_size,
|
||||
port: config.postgres_port,
|
||||
database: config.postgres_db,
|
||||
pool_size: config.postgres_pool_size,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue