Hello ,
pgxpool Acquire processing taking more time and did not return anything when more request come to server in less request its working fine .
For using Acquire we using below code
ctx := context.Background()
intconn, err := s.Conn.Acquire(ctx)
if err != nil {
fmt.Println("Txn id in request for debit::", req.GetTxnid(), "Error in conn acquire in insert :", err)
}.
Is there need to chnage anything or am i using context in correct way ??