diff --git a/redis.conf b/redis.conf index c96aebea4..a46668826 100644 --- a/redis.conf +++ b/redis.conf @@ -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 diff --git a/src/acl.c b/src/acl.c index f0523b635..e8f9d3724 100644 --- a/src/acl.c +++ b/src/acl.c @@ -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) { diff --git a/src/crcspeed.c b/src/crcspeed.c index d2d97a8c7..d4955bfc9 100644 --- a/src/crcspeed.c +++ b/src/crcspeed.c @@ -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++) { diff --git a/src/help.h b/src/help.h index 1b1ac5e08..8a12458e1 100644 --- a/src/help.h +++ b/src/help.h @@ -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", diff --git a/tests/unit/slowlog.tcl b/tests/unit/slowlog.tcl index 22f088103..c2ef23cf7 100644 --- a/tests/unit/slowlog.tcl +++ b/tests/unit/slowlog.tcl @@ -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