Skip to content

Commit

Permalink
spelling: within
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Mar 1, 2024
1 parent 10fa423 commit 832aa9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/state.go
Expand Up @@ -31,7 +31,7 @@ func IsStaleRead(
return false
}
if time.Since(leaderlastContact).Nanoseconds() > freshness {
// The Leader has not been in contact witin the freshness window, so
// The Leader has not been in contact within the freshness window, so
// the read is stale.
return true
}
Expand Down

0 comments on commit 832aa9f

Please sign in to comment.