Skip to content

Commit

Permalink
Fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee committed Oct 11, 2022
1 parent ad80233 commit 5d00d4c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions session_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@ func (pool *SessionPool) ExecuteWithParameter(stmt string, params map[string]int
}

// Return the session to the idle list
// TODO(Aiee): Use go routine to avoid blocking
go func() {
pool.returnSession(session)
}()
pool.returnSession(session)

return resSet, err
}
Expand Down

0 comments on commit 5d00d4c

Please sign in to comment.