Skip to content

Commit

Permalink
Fixed complexity display glitches for some commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
dspezia committed Jul 29, 2012
1 parent eb48c2e commit dbea346
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 20 deletions.
1 change: 1 addition & 0 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,7 @@
},
"TIME": {
"summary": "Return the current server time",
"complexity": "O(1)",
"since": "2.6.0",
"group": "server"
},
Expand Down
4 changes: 0 additions & 4 deletions commands/pexpire.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 0 additions & 4 deletions commands/pexpireat.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 0 additions & 4 deletions commands/psetex.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 0 additions & 4 deletions commands/pttl.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 0 additions & 4 deletions commands/time.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit dbea346

Please sign in to comment.