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 ??

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/86041227-9709-47ca-960a-2d0808bab699n%40googlegroups.com.

Reply via email to