Skip to content

Commit

Permalink
Merge pull request #79 from holaplex/abdul/increase-connection-timeout
Browse files Browse the repository at this point in the history
 increase db connection timeout
  • Loading branch information
kespinola authored Oct 11, 2023
2 parents bdc357f + aa9bde9 commit d614db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ pub struct DbArgs {
pub max_connections: u32,
#[arg(long, env, default_value_t = 60)]
pub connection_timeout: u64,
#[arg(long, env, default_value_t = 10)]
#[arg(long, env, default_value_t = 60)]
pub acquire_timeout: u64,
#[arg(long, env, default_value_t = 10)]
#[arg(long, env, default_value_t = 20)]
pub idle_timeout: u64,
#[arg(long, env)]
pub database_url: String,
Expand Down

0 comments on commit d614db8

Please sign in to comment.