Commit 86ca1c10 authored by Pasan Mallawaarachchi's avatar Pasan Mallawaarachchi 💻

rows dump & timeout

parent 0965f5de
...@@ -398,7 +398,7 @@ func worker(i int) { ...@@ -398,7 +398,7 @@ func worker(i int) {
attachment = "" attachment = ""
} }
ctx, cancel := context.WithTimeout(context.Background(), time.Second*30) ctx, cancel := context.WithTimeout(context.Background(), time.Second*50)
defer cancel() defer cancel()
MailgunResp, id, err := mg.Send(ctx, message) MailgunResp, id, err := mg.Send(ctx, message)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment