mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-15 23:21:16 +08:00
Update cache.js
This commit is contained in:
parent
8f14da56f0
commit
c0e2d43bef
@ -8,7 +8,7 @@ export class Cache {
|
|||||||
|
|
||||||
constructor(p = {}) {
|
constructor(p = {}) {
|
||||||
this._db = p.db
|
this._db = p.db
|
||||||
this._type = p.db.type || 'redis'
|
this._type = p.db.type || 'json'
|
||||||
this._category = p.category || 'config'
|
this._category = p.category || 'config'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user