Unverified Commit cd1c6005 authored by sundb's avatar sundb Committed by GitHub
Browse files

Typo fix: entires -> entries (#8031)

parent 25436778
...@@ -1644,7 +1644,7 @@ hll-sparse-max-bytes 3000 ...@@ -1644,7 +1644,7 @@ hll-sparse-max-bytes 3000
# maximum number of items it may contain before switching to a new node when # 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 # 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 # 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. # value.
stream-node-max-bytes 4096 stream-node-max-bytes 4096
stream-node-max-entries 100 stream-node-max-entries 100
......
...@@ -1672,7 +1672,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username) { ...@@ -1672,7 +1672,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username) {
le->cinfo = NULL; le->cinfo = NULL;
ACLFreeLogEntry(le); ACLFreeLogEntry(le);
} else { } 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. */ * to its maximum size. */
listAddNodeHead(ACLLog, le); listAddNodeHead(ACLLog, le);
while(listLength(ACLLog) > server.acllog_max_len) { while(listLength(ACLLog) > server.acllog_max_len) {
......
...@@ -84,7 +84,7 @@ static inline uint64_t rev8(uint64_t a) { ...@@ -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 /* This function is called once to initialize the CRC table for use on a
big-endian architecture. */ big-endian architecture. */
void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) { 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); crcspeed64little_init(fn, big_table);
for (int k = 0; k < 8; k++) { for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) { for (int n = 0; n < 256; n++) {
...@@ -94,7 +94,7 @@ void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) { ...@@ -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]) { 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); crcspeed16little_init(fn, big_table);
for (int k = 0; k < 8; k++) { for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) { for (int n = 0; n < 256; n++) {
......
...@@ -1175,7 +1175,7 @@ struct commandHelp { ...@@ -1175,7 +1175,7 @@ struct commandHelp {
"5.0.0" }, "5.0.0" },
{ "XLEN", { "XLEN",
"key", "key",
"Return the number of entires in a stream", "Return the number of entries in a stream",
14, 14,
"5.0.0" }, "5.0.0" },
{ "XPENDING", { "XPENDING",
......
...@@ -70,7 +70,7 @@ start_server {tags {"slowlog"} overrides {slowlog-log-slower-than 1000000}} { ...@@ -70,7 +70,7 @@ start_server {tags {"slowlog"} overrides {slowlog-log-slower-than 1000000}} {
assert_equal [lindex $e 3] {debug sleep 0.2} 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 client setname lastentry_client
r config set slowlog-max-len 1 r config set slowlog-max-len 1
r debug sleep 0.2 r debug sleep 0.2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment