If datastore.engine is set to memory (the current default) hard code replica count to 1. Any other engine will continue using whatever replicaCount is set to, by default it's 3.
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected
Description
If
datastore.engine
is set tomemory
(the current default) hard code replica count to1
. Any other engine will continue using whateverreplicaCount
is set to, by default it's3
.References
https://github.com/openfga/openfga/issues/1431
Review Checklist
main