Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FOLLOW-1337: Disable FORCE_CALL_STRATEGY for 10% of sessions (#5593)
# Motivation We want to re-enable the update calls that are disabled via FORCE_CALL_STRATEGY. Because this may result in higher subnet load, we want to first roll this out for 10% of sessions. # Changes 1. Initialize `FORCE_CALL_STRATEGY` on app load, to `"query"` 90% of the time and to `undefined` 10% of the time. 2. Output what it was initialized to, in case we need to know this later for trouble shooting. # Tests 1. Manually tested by checking the logged value and by adding additional logging in `queryAndUpdate`. 2. `FORCE_CALL_STRATEGY` itself has existing test coverage so it should work either way. # Todos - [x] Add entry to changelog (if necessary).
- Loading branch information