razorpay / razorpay-go

Razorpay Go SDK
MIT License
37 stars 24 forks source link

Increase Timeout for Request #113

Closed onlinejudge95 closed 3 weeks ago

onlinejudge95 commented 3 weeks ago

I am running the sdk inside of AWS Lambda function as a docker image and only on this platform I am getting a Timeout when hitting the order API.

2024/08/29 17:56:01 ERROR Post "https://api.razorpay.com/v1/orders": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Any way I can increase the timeout?