@javien/mikro-orm-redis-cache-adapter
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@javien/mikro-orm-redis-cache-adapter", | ||
"description": "mikro-orm redis cache adapter using v8 serialize", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Javien Lee <kraccoon@dimipay.io> (https://github.com/SnowMarble/)", |
@@ -30,3 +30,7 @@ # Mikro ORM Redis Cache Adapter | ||
// set it to `false`. Defaults to `true`. | ||
gracefulShutdown: false | ||
gracefulShutdown: false, | ||
// (optional) maximumCacheBytes: The maximum cache size of each key in bytes. Defaults to `-1`. | ||
maximumCacheBytes: 1024 * 1024, | ||
// (optional) base64Encode: If you want to use base64 encoding, set it to `true`. Defaults to `false`. | ||
base64Encode: false | ||
} as RedisCacheAdapterOptions | ||
@@ -43,7 +47,2 @@ } | ||
## Debug Mode | ||
If you use debug mode, saving data is shown with `JSON.stringify` applied. | ||
it doesn't mean `JSON.stringify` is used to serialize the data. It's only for logging purposes. | ||
## Supported Data Types | ||
@@ -50,0 +49,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13367
85