hi I just joined a project and have been reading codes. dbContext, cancelFunc = context.WithTimeout(context.Background(), 20*time.Minute)
For a database query, I found the context With Time Out, and it has been set to *20 minutes*. How much time is appropriate for a timeout query in Go? -- 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/ed5eb612-e479-48fa-b4a3-130d263d243cn%40googlegroups.com.