On Friday, October 21, 2016 at 11:03:14 PM UTC-7, Jannis Hübl wrote: > > Yes this behavior is fine, but why is the connection dropped after each > query? >
with_server simply sets the default server to use in the block, it does not check out a connection for the duration of the block. For that, you need to use synchronize. This is explained in the arbitrary_servers documentation: http://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/arbitrary_servers_rb.html Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
