Configuration for read replicas are ignored #10578
Unanswered
leticiaporto
asked this question in
Support Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Support Question
I configured the replicas on file doctrine.yaml. I intend that replica1 be used for read operations. But, this configuration is ignored when I try to do a GET request, for example. This configuration would be enough, or I need implement more things?
Besides, when I use the replicas option and try save anything, I receive the error The EntityManager is closed.
I am using Symfony 4.4, Doctrine Bundle 2.4.3 and PostgreSQL 12.
File doctrine.yaml
Beta Was this translation helpful? Give feedback.
All reactions