Typo fix: entires -> entries (#8031)

This commit is contained in:
sundb 2020-11-08 14:32:38 +08:00 committed by GitHub
parent 254367788a
commit cd1c600548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -1644,7 +1644,7 @@ hll-sparse-max-bytes 3000
# maximum number of items it may contain before switching to a new node when
# appending new stream entries. If any of the following settings are set to
# zero, the limit is ignored, so for instance it is possible to set just a
# max entires limit by setting max-bytes to 0 and max-entries to the desired
# max entries limit by setting max-bytes to 0 and max-entries to the desired
# value.
stream-node-max-bytes 4096
stream-node-max-entries 100

View File

@ -1672,7 +1672,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username) {
le->cinfo = NULL;
ACLFreeLogEntry(le);
} else {
/* Add it to our list of entires. We'll have to trim the list
/* Add it to our list of entries. We'll have to trim the list
* to its maximum size. */
listAddNodeHead(ACLLog, le);
while(listLength(ACLLog) > server.acllog_max_len) {

View File

@ -84,7 +84,7 @@ static inline uint64_t rev8(uint64_t a) {
/* This function is called once to initialize the CRC table for use on a
big-endian architecture. */
void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) {
/* Create the little endian table then reverse all the entires. */
/* Create the little endian table then reverse all the entries. */
crcspeed64little_init(fn, big_table);
for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) {
@ -94,7 +94,7 @@ void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) {
}
void crcspeed16big_init(crcfn16 fn, uint16_t big_table[8][256]) {
/* Create the little endian table then reverse all the entires. */
/* Create the little endian table then reverse all the entries. */
crcspeed16little_init(fn, big_table);
for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) {

View File

@ -1175,7 +1175,7 @@ struct commandHelp {
"5.0.0" },
{ "XLEN",
"key",
"Return the number of entires in a stream",
"Return the number of entries in a stream",
14,
"5.0.0" },
{ "XPENDING",

View File

@ -70,7 +70,7 @@ start_server {tags {"slowlog"} overrides {slowlog-log-slower-than 1000000}} {
assert_equal [lindex $e 3] {debug sleep 0.2}
}
test {SLOWLOG - can clean older entires} {
test {SLOWLOG - can clean older entries} {
r client setname lastentry_client
r config set slowlog-max-len 1
r debug sleep 0.2