Improve interfaces and fix more linter errors

This commit is contained in:
Daniel 2020-09-24 09:50:38 +02:00
parent 5bb73a7b4c
commit 362539692e
11 changed files with 55 additions and 69 deletions

View file

@ -245,16 +245,6 @@ func (b *BBolt) Injected() bool {
return false
}
// Maintain runs a light maintenance operation on the database.
func (b *BBolt) Maintain(_ context.Context) error {
return nil
}
// MaintainThorough runs a thorough maintenance operation on the database.
func (b *BBolt) MaintainThorough(_ context.Context) error {
return nil
}
// MaintainRecordStates maintains records states in the database.
func (b *BBolt) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time) error {
now := time.Now().Unix()