Hi Jeremy!

### Complete Description of Issue

When using the simplest possible read/write configuration, as stated 
[here](https://sequel.jeremyevans.net/rdoc/files/doc/sharding_rdoc.html#label-Single+Primary-2C+Single+Replica),
 
it seems it doesn't recognize different port number for reads. My configs 
are as simple as:

> write_production:
>   <<: *main
>
> read_production:
>   <<: *main
>   port: 5001
>

and setup (this is ROM using Sequel under the hood)

    config = ::ROM::Configuration.new(
>       :sql,
>       container[:config].write_db_config,
>       servers: { read_only: container[:config].read_db_config }
>     )



>From what I am seeing in the PostgreSQL connections, all of them are 
hitting master -- probably because different port number is being ignored?

-- 
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.

Reply via email to