Roman D

Results 3 comments of Roman D

@jackc Hi! We have same problem, on highload - pool fall to zero (using pool size greater then pgx.max_pool_size) Can you help me, how choice best decision? - Override BuildContextWatcherHandler...

@jackc ok, thx! Please tell: what happen if we assign empty struct to BuildContextWatcherHandler? ps We using Transaction mode + simple_query_protocol

@jackc i mean empty struct: ``` type CustomRequestContextWatcherHandler struct {} func (h *CustomRequestContextWatcherHandler) HandleCancel(context.Context) {} func (h *CustomRequestContextWatcherHandler) HandleUnwatchAfterCancel() {} c.ConnConfig.BuildContextWatcherHandler = func(pgConn *pgconn.PgConn) ctxwatch.Handler { return &CustomRequestContextWatcherHandler{} } ```...