Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add application_name to fleet db url + db pool max #3295

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

TBonnin
Copy link
Collaborator

@TBonnin TBonnin commented Jan 10, 2025

Setting db application name for fleet and setting connection pool max to 15

https://linear.app/nango/issue/NAN-2464/add-application-name-to-database-url-for-fleet

@TBonnin TBonnin requested a review from a team January 10, 2025 20:32
Copy link

linear bot commented Jan 10, 2025

@@ -13,7 +13,7 @@ export class DatabaseClient {
public url: string;
private config: knex.Knex.Config;

constructor({ url, schema, poolMax = 50 }: { url: string; schema: string; poolMax?: number }) {
constructor({ url, schema, poolMax = 15 }: { url: string; schema: string; poolMax?: number }) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fleet doesn't need this many connections

@TBonnin TBonnin merged commit ffb0bf0 into master Jan 10, 2025
19 checks passed
@TBonnin TBonnin deleted the tbonnin/nan-2464/fleet-db-app-name branch January 10, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants