On Mon, Nov 20, 2023 at 3:21 AM Sofia Dimant <[email protected]> wrote:

> thank you
> are the parameters set in Sequel.connect are global for all the connection?
> I'm asking because I Im using RDS with IAM, and Im not sure where should I
> add the password update. my application performs Sequel.connect couple of
> times, and I will update the password this way for each Sequel.connect
> command
>
> Thread.new do
> loop do
> db.opts[:password] = get_current_iam_password
> sleep 890
> end
> end
>
> thanks
>

That looks like it should work, except maybe when using the jdbc adapter.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CADGZSSc7BbZP5gLqtEz%3DUS1sZx41MrbiTkJ5v%3DVzUMXDtMRCEQ%40mail.gmail.com.

Reply via email to