Skip to content

Commit

Permalink
remove timout for connection acquire
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet committed May 1, 2024
1 parent 036a885 commit ec0538c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions configurations/development/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ state_contract_address = "0xdAad669b06d79Cb48C8cfef789972436dBe6F24d"
commit_interval = 3
rpc = "ws://localhost:8545"

[fuel]
graphql_endpoint = "http://localhost:4000"

[app]
port = 8080
host = "0.0.0.0"

[fuel]
graphql_endpoint = "http://localhost:4000"

[app.db]
host = "localhost"
port = 5432
Expand Down
1 change: 0 additions & 1 deletion src/adapters/storage/postgresql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ impl Postgres {

let connection_pool = PgPoolOptions::new()
.max_connections(opt.max_connections)
.acquire_timeout(Duration::from_secs(2))
.connect_with(options)
.await?;

Expand Down

0 comments on commit ec0538c

Please sign in to comment.