Skip to content

Commit

Permalink
not TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Jan 14, 2025
1 parent 830ee47 commit 100c1ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/bun/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ class PooledConnection {
this.pool.release(this);
}
constructor(connectionInfo, pool: ConnectionPool) {
//TODO: maxLifetime, idleTimeout, connectionTimeout
this.connection = createConnection(connectionInfo, this.#onConnected.bind(this), this.#onClose.bind(this));
this.state = "pending";
this.pool = pool;
Expand Down Expand Up @@ -326,7 +325,6 @@ class PooledConnection {
}
// we need to reconnect
// lets use a retry strategy
// TODO: implement retry strategy, maxLifetime, idleTimeout, connectionTimeout

// we can only retry if one day we are able to connect
if (this.canBeConnected) {
Expand Down

0 comments on commit 100c1ba

Please sign in to comment.