Skip to content

Commit

Permalink
SQC-333: Revert previous changes
Browse files Browse the repository at this point in the history
This commit reverts 1149737.
The sslmode change in the previous commit does not work as expected.
Connection attempts time out, presumably getting hung while negotiating
SSL upgrade. Revert this change until we have the bandwidth to attempt
it again.
  • Loading branch information
ReppCodes authored and penalosa committed Dec 3, 2024
1 parent 8bf3af4 commit f1e8947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/api/hyperdrive.c++
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ uint16_t Hyperdrive::getPort() {

kj::String Hyperdrive::getConnectionString() {
return kj::str(getScheme(), "://", getUser(), ":", getPassword(), "@", getHost(), ":", getPort(),
"/", getDatabase(), "?sslmode=prefer");
"/", getDatabase(), "?sslmode=disable");
}

kj::Promise<kj::Own<kj::AsyncIoStream>> Hyperdrive::connectToDb() {
Expand Down

0 comments on commit f1e8947

Please sign in to comment.