feat(xo-server/logs): double number of entries
This commit is contained in:
parent
dc40ceaafe
commit
3d4d7db5da
@ -9,7 +9,7 @@ export default class Logs {
|
|||||||
app.on('clean', () => this._gc())
|
app.on('clean', () => this._gc())
|
||||||
}
|
}
|
||||||
|
|
||||||
async _gc (keep = 1e4) {
|
async _gc (keep = 2e4) {
|
||||||
const db = await this._app.getStore('logs')
|
const db = await this._app.getStore('logs')
|
||||||
|
|
||||||
let count = 1
|
let count = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user