Skip to content

Commit

Permalink
Updated size in the docs, version bump to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
four43 committed Oct 25, 2016
1 parent 4308ccc commit ec7c5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Set a value to the cache. Will call `callback` (an error first callback) with a
| ------ | ---- | ------- | ----------- |
| `staleTtl` | (integer, ms) | `crispCache.defaultStaleTtl` | How long the cache entry is valid before becoming stale. |
| `expiresTtl` | (integer, ms) | `crispCache.defaultExpiresTtl` | If >0, cache entries that are older than this time will be deleted |
| `size` | (integer) | `null` | Required when `maxSize` is set on the cache, specifies the size for this entry. |
| `size` | (integer) | `1` | Required when `maxSize` is set on the cache, specifies the size for this cache entry. |

### del(key, [callback])
Removes the provided `key` (a string) from the cache, will call `callback` (an error first callback) when the delete is done.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crisp-cache",
"version": "1.1.1",
"version": "1.2.0",
"description": "A crispy fresh cache that will try and use updated data where it can, but can use a stale entry if need be.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit ec7c5a7

Please sign in to comment.