persist cache
This commit is contained in:
parent
d484f58224
commit
1a2a715d59
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ export default class {
|
||||||
}, 1000 * 60 * 5)
|
}, 1000 * 60 * 5)
|
||||||
process.on('exit', () => {
|
process.on('exit', () => {
|
||||||
this.persistMetrics()
|
this.persistMetrics()
|
||||||
|
this.persistCache()
|
||||||
});
|
});
|
||||||
|
|
||||||
// catch ctrl+c event and exit normally
|
// catch ctrl+c event and exit normally
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue