Remove internal.PartitionStorer from components that don't consume keychanges

This commit is contained in:
Neil Alexander 2021-11-04 09:48:12 +00:00
parent b8488f777c
commit d9d36c075f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 0 additions and 4 deletions

View file

@ -17,12 +17,10 @@ package storage
import (
"context"
"github.com/matrix-org/dendrite/internal"
"github.com/matrix-org/gomatrixserverlib"
)
type Database interface {
internal.PartitionStorer
StoreEvent(ctx context.Context, appServiceID string, event *gomatrixserverlib.HeaderedEvent) error
GetEventsWithAppServiceID(ctx context.Context, appServiceID string, limit int) (int, int, []gomatrixserverlib.HeaderedEvent, bool, error)
CountEventsWithAppServiceID(ctx context.Context, appServiceID string) (int, error)