pkg/recordsubscriber/config.go
Showing 2 of 2 total issues
Function AggregateTypesConfig
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func AggregateTypesConfig(ctx context.Context, store rangedb.Store, broadcaster broadcast.Broadcaster, bufferLength int, aggregateTypes []string, consumeRecord ConsumeRecordFunc) Config {
Function AllEventsConfig
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func AllEventsConfig(ctx context.Context, store rangedb.Store, broadcaster broadcast.Broadcaster, bufferLength int, consumeRecord ConsumeRecordFunc) Config {