diff --git a/docs/DistributedFreeBSD.md b/docs/DistributedFreeBSD.md index d23614100..9d9f96013 100644 --- a/docs/DistributedFreeBSD.md +++ b/docs/DistributedFreeBSD.md @@ -68,7 +68,7 @@ token = "my server's token" FreeBSD as a build client ------------------------- -On a FreeBSD client, make sure to add the right toolchains to to +On a FreeBSD client, make sure to add the right toolchains to `~/.config/sccache/config`: ```toml diff --git a/docs/Redis.md b/docs/Redis.md index 2b0dbda1e..87cff1874 100644 --- a/docs/Redis.md +++ b/docs/Redis.md @@ -10,7 +10,7 @@ Redis endpoint URL format can be found in the [OpenDAL source code](https://gith Redis can be configured as a LRU (least recently used) cache with a fixed maximum cache size. Set `maxmemory` and `maxmemory-policy` according to the [Redis documentation](https://redis.io/topics/lru-cache). The `allkeys-lru` policy which discards the *least recently accessed or modified* key fits well for the sccache use case. -Redis over TLS is supported. Use the [`rediss://`](https://www.iana.org/assignments/uri-schemes/prov/rediss) url scheme (note `rediss` vs `redis`). Append `#insecure` the the url to disable hostname verification and accept self-signed certificates (dangerous!). Note that this also disables [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication). +Redis over TLS is supported. Use the [`rediss://`](https://www.iana.org/assignments/uri-schemes/prov/rediss) url scheme (note `rediss` vs `redis`). Append `#insecure` the url to disable hostname verification and accept self-signed certificates (dangerous!). Note that this also disables [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication). If you want to authenticate to Redis, set `SCCACHE_REDIS_USERNAME` and `SCCACHE_REDIS_PASSWORD` to the username and password accordingly. diff --git a/src/util.rs b/src/util.rs index 4f062d3b3..e92e27680 100644 --- a/src/util.rs +++ b/src/util.rs @@ -200,7 +200,7 @@ impl TimeMacroFinder { if !self.previous_small_read.is_empty() { // In a rare pathological case where all reads are small, // this will grow up to the length of the file. - // It it *very* unlikely and of minor performance + // It is *very* unlikely and of minor performance // importance compared to just getting many small reads. self.previous_small_read.extend(visit); } else {