diff --git a/src/server.h b/src/server.h index f2c93241c..2d376e035 100644 --- a/src/server.h +++ b/src/server.h @@ -1275,7 +1275,7 @@ struct redisServer { unsigned int maxclients; /* Max number of simultaneous clients */ unsigned long long maxmemory; /* Max number of memory bytes to use */ int maxmemory_policy; /* Policy for key eviction */ - int maxmemory_samples; /* Pricision of random sampling */ + int maxmemory_samples; /* Precision of random sampling */ int lfu_log_factor; /* LFU logarithmic counter factor. */ int lfu_decay_time; /* LFU counter decay factor. */ long long proto_max_bulk_len; /* Protocol bulk length maximum size. */ diff --git a/src/t_hash.c b/src/t_hash.c index b9f0db7fc..7dafe99f8 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -630,7 +630,7 @@ void hincrbyfloatCommand(client *c) { server.dirty++; /* Always replicate HINCRBYFLOAT as an HSET command with the final value - * in order to make sure that differences in float pricision or formatting + * in order to make sure that differences in float precision or formatting * will not create differences in replicas or after an AOF restart. */ robj *aux, *newobj; aux = createStringObject("HSET",4); diff --git a/tests/unit/expire.tcl b/tests/unit/expire.tcl index de24eabed..a89251f8e 100644 --- a/tests/unit/expire.tcl +++ b/tests/unit/expire.tcl @@ -72,7 +72,7 @@ start_server {tags {"expire"}} { list [r persist foo] [r persist nokeyatall] } {0 0} - test {EXPIRE pricision is now the millisecond} { + test {EXPIRE precision is now the millisecond} { # This test is very likely to do a false positive if the # server is under pressure, so if it does not work give it a few more # chances.