Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/DistributedFreeBSD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/Redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading