There's been a long standing bug <https://github.com/golang/go/issues/39471> in database/sql pooling which means SetConnMaxIdleTime doesn't work.
I found and fixed the bug <https://go-review.googlesource.com/c/go/+/237337> back in June of 2020, but have so far been unable to get this relatively simple fix across the line. With 1.18 freeze fast approaching, I'd love to get this merged before then so we can have working DB pooling without having to run a patched core library. Others have looked at it in the past and said the fix looks good, and we've been running it for well over a year now, so I would say confidence is high ;-) So any help to get it merged would be most appreciated! Regards Steve -- 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/CAHEMsqamkJagp0gk2d61At6kHxWQwJJXQw-dqDgP9v-ic0NNjw%40mail.gmail.com.