Skip to content

Commit b17ab19

Browse files
committed
internal/pool.Pool[T] and switch internal/query.Client from subPool to pool.Pool[Session]
1 parent 7f0980a commit b17ab19

File tree

5 files changed

+357
-364
lines changed

5 files changed

+357
-364
lines changed

internal/pool/errors.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package pool
2+
3+
import (
4+
"errors"
5+
)
6+
7+
var (
8+
errClosedPool = errors.New("closed Pool")
9+
errPoolOverflow = errors.New("Pool overflow")
10+
)

0 commit comments

Comments
 (0)