Skip to content

Commit

Permalink
feat: introduce pool connection timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Oct 28, 2022
1 parent c9dcca6 commit f4d7caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/persistence/persistence.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { UserRepository } from './user.repository';
user: config.database.user,
password: config.database.password,
database: config.database.type,
pool: { min: 0, max: 10 },
pool: { min: 0, max: 10, idleTimeoutMillis: 300000 },
},
},
}),
Expand Down

0 comments on commit f4d7caf

Please sign in to comment.