fix bug in db cleanup
This commit is contained in:
parent
4b04cc92f1
commit
8e81926076
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ export const cleanupOldStatuses = debounce(async () => {
|
||||||
if (type !== 'timeline') {
|
if (type !== 'timeline') {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
await cleanup(instanceName, dbName)
|
let timeline = dbName.split('_').slice(-1)
|
||||||
|
await cleanup(instanceName, timeline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue