Commit Graph

6 Commits

Author SHA1 Message Date
Binbin
0bfccc55e2
Fixed some typos, add a spell check ci and others minor fix (#8890)
This PR adds a spell checker CI action that will fail future PRs if they introduce typos and spelling mistakes.
This spell checker is based on blacklist of common spelling mistakes, so it will not catch everything,
but at least it is also unlikely to cause false positives.

Besides that, the PR also fixes many spelling mistakes and types, not all are a result of the spell checker we use.

Here's a summary of other changes:
1. Scanned the entire source code and fixes all sorts of typos and spelling mistakes (including missing or extra spaces).
2. Outdated function / variable / argument names in comments
3. Fix outdated keyspace masks error log when we check `config.notify-keyspace-events` in loadServerConfigFromString.
4. Trim the white space at the end of line in `module.c`. Check: https://github.com/redis/redis/pull/7751
5. Some outdated https link URLs.
6. Fix some outdated comment. Such as:
    - In README: about the rdb, we used to said create a `thread`, change to `process`
    - dbRandomKey function coment (about the dictGetRandomKey, change to dictGetFairRandomKey)
    - notifyKeyspaceEvent fucntion comment (add type arg)
    - Some others minor fix in comment (Most of them are incorrectly quoted by variable names)
7. Modified the error log so that users can easily distinguish between TCP and TLS in `changeBindAddr`
2021-06-10 15:39:33 +03:00
antirez
d5a8018287 speed-regression.tcl: command line options to select tests, data size, and number of requests. 2011-11-07 17:18:50 +01:00
antirez
55758a5fab speed-regression.tcl: move tests, data size, requests in global vars that will be changed via command line options. 2011-11-07 16:52:55 +01:00
antirez
85bc9b06b7 speed-regression.tcl script: killing previously tested instance fixed. Don't run if there is already an instance running in the same port. 2011-11-07 16:00:15 +01:00
antirez
84c6bdfcd0 speed-regression.tcl script: obtain test names dynamically. 2011-11-07 15:35:01 +01:00
antirez
9f080a01fa first version of the speed regression test 2011-11-04 20:45:46 +01:00