Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update version map unsync tolerance to 200ms
Before this change version_map's reload_interval was equal to the unsync_tolerance. This means that we would ~always miss the cache. The check for outdated cache is as follows: - When reading into cache set `last_reload_time = now - unsync_tolerance` - When checking if cache is outdated we check whether `now - last_reload_time > reload_interval This change updates the unsync tolerance to 200ms. This will mean the cache is valid for 1.8s
- Loading branch information