Permalink
Browse files

Fixed complexity display glitches for some commands.

  • Loading branch information...
1 parent eb48c2e commit dbea3461764576f40da9b0625bd661559d232fd0 @dspezia dspezia committed Jul 29, 2012
Showing with 1 addition and 20 deletions.
  1. +1 −0 commands.json
  2. +0 −4 commands/pexpire.md
  3. +0 −4 commands/pexpireat.md
  4. +0 −4 commands/psetex.md
  5. +0 −4 commands/pttl.md
  6. +0 −4 commands/time.md
View
@@ -1746,6 +1746,7 @@
},
"TIME": {
"summary": "Return the current server time",
+ "complexity": "O(1)",
"since": "2.6.0",
"group": "server"
},
View
@@ -1,7 +1,3 @@
-@complexity
-
-O(1)
-
This command works exactly like `EXPIRE` but the time to live of the key is
specified in milliseconds instead of seconds.
@@ -1,7 +1,3 @@
-@complexity
-
-O(1)
-
`PEXPIREAT` has the same effect and semantic as `EXPIREAT`, but the Unix time at
which the key will expire is specified in milliseconds instead of seconds.
View
@@ -1,7 +1,3 @@
-@complexity
-
-O(1)
-
`PSETEX` works exactly like `SETEX` with the sole difference that the expire
time is specified in milliseconds instead of seconds.
View
@@ -1,7 +1,3 @@
-@complexity
-
-O(1)
-
Like `TTL` this command returns the remaining time to live of a key that has an
expire set, with the sole difference that `TTL` returns the amount of remaining
time in seconds while `PTTL` returns it in milliseconds.
View
@@ -1,7 +1,3 @@
-@complexity
-
-O(1)
-
The `TIME` command returns the current server time as a two items lists: a Unix
timestamp and the amount of microseconds already elapsed in the current second.
Basically the interface is very similar to the one of the `gettimeofday` system

0 comments on commit dbea346

Please sign in to comment.