Skip to content

fix: retrying known incorrect passwords repeatedly#959

Merged
levkk merged 1 commit intomainfrom
levkk-password-attempts
May 5, 2026
Merged

fix: retrying known incorrect passwords repeatedly#959
levkk merged 1 commit intomainfrom
levkk-password-attempts

Conversation

@levkk
Copy link
Copy Markdown
Collaborator

@levkk levkk commented May 5, 2026

When configuring multiple passwords, PgDog would attempt the bad ones on every connection, even if a previous attempt would fail. We now track the password validity and attempt the known good password first. This decreases the number of incorrect password attempts substantially and won't get us banned by certain database hosting providers.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

@levkk levkk merged commit a519a19 into main May 5, 2026
22 checks passed
@levkk levkk deleted the levkk-password-attempts branch May 5, 2026 16:38
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.

1 participant