mirror of
https://github.com/zoriya/flood.git
synced 2026-06-04 19:36:42 +00:00
fix: run compaction every interval (#834)
This commit is contained in:
@@ -21,6 +21,7 @@ class FeedService extends BaseService<Record<string, never>> {
|
||||
|
||||
constructor(...args: ConstructorParameters<typeof BaseService>) {
|
||||
super(...args);
|
||||
this.db.setAutocompactionInterval(config.dbCleanInterval);
|
||||
|
||||
this.onServicesUpdated = async () => {
|
||||
// Execute once only.
|
||||
|
||||
Reference in New Issue
Block a user