Skip to content

Commit

Permalink
fix: timeout 조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
humy2833 committed Apr 15, 2024
1 parent 21ad465 commit 0219b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cormo/src/adapters/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ export class MySQLAdapter extends SQLAdapterBase {

/** @internal */
private _setEvent(client: any, max_lifetime?: number) {
if (!max_lifetime || max_lifetime < 0) {
if (!max_lifetime || max_lifetime <= 0) {
return;
}
client.on('connection', (connection: any) => {
Expand Down

0 comments on commit 0219b08

Please sign in to comment.