Hey,I'm trying to run multiple exec calls from different threads asynchronous and I'm getting memory errors.
I had to go back to opening and closing a connection for every thread which makes things work a lot slower.
Any ideas how this can be done ?
--
You received this message because you are subscribed to a topic in the Google Groups "ruby-pg" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ruby-pg/7NVpUYgay58/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ruby-pg+unsubscribe@googlegroups.com.
To post to this group, send email to rub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-pg/CAHXCYb1j%3D81TWJH69ZsRoE0dQxYE91KT%2BKhABFPDoUCG2BCG5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jul 11, 2017 at 9:10 PM, Lars Kanis <la...@greiz-reinsdorf.de> wrote:
I had to go back to opening and closing a connection for every thread which makes things work a lot slower.Unfortunately that's the way to go.
--
You received this message because you are subscribed to a topic in the Google Groups "ruby-pg" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ruby-pg/7NVpUYgay58/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ruby-pg+unsubscribe@googlegroups.com.
To post to this group, send email to rub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-pg/CAM9pMnNDRgGmROQbFrAm9vn95TdejdiBXdVpd%3D6W6zUEavXStQ%40mail.gmail.com.