Skip to content

Commit

Permalink
Update source/max-staleness/max-staleness.md
Browse files Browse the repository at this point in the history
Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>
  • Loading branch information
blink1073 and prestonvasquez committed May 1, 2024
1 parent cd3e110 commit dbdac9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/max-staleness/max-staleness.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ maxStalenessSeconds * 1000 >= heartbeatFrequencyMS + idleWritePeriodMS

Python scripts in this document's source directory:

- \`test_max_staleness_spo.py\`: Uses `scipy.optimize` to determine worst-case accuracy of the staleness estimate in an
- `test_max_staleness_spo.py`: Uses `scipy.optimize` to determine worst-case accuracy of the staleness estimate in an
idle replica set.
- \`test_staleness_estimate.py\`: Tests whether a client would correctly select a secondary from an idle replica set,
- `test_staleness_estimate.py`: Tests whether a client would correctly select a secondary from an idle replica set,
given a random distribution of values for maxStalenessSeconds, heartbeatFrequencyMS, lastWriteDate, and
lastUpdateTime.

Expand Down

0 comments on commit dbdac9c

Please sign in to comment.