fix database cleanup
This commit is contained in:
parent
9e973cabd0
commit
0460a7de2d
|
@ -47,7 +47,7 @@ export const cleanupOldStatuses = debounce(async () => {
|
||||||
if (type !== 'timeline') {
|
if (type !== 'timeline') {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
let timeline = dbName.split('_').slice(-1)
|
let timeline = dbName.split('_').slice(-1)[0]
|
||||||
await cleanup(instanceName, timeline)
|
await cleanup(instanceName, timeline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue