inklabs/rangedb

View on GitHub
pkg/recordsubscriber/config.go

Summary

Maintainability
A
1 hr
Test Coverage
F
38%

Showing 2 of 2 total issues

Function AggregateTypesConfig has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func AggregateTypesConfig(ctx context.Context, store rangedb.Store, broadcaster broadcast.Broadcaster, bufferLength int, aggregateTypes []string, consumeRecord ConsumeRecordFunc) Config {
Severity: Minor
Found in pkg/recordsubscriber/config.go - About 45 mins to fix

    Function AllEventsConfig has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func AllEventsConfig(ctx context.Context, store rangedb.Store, broadcaster broadcast.Broadcaster, bufferLength int, consumeRecord ConsumeRecordFunc) Config {
    Severity: Minor
    Found in pkg/recordsubscriber/config.go - About 35 mins to fix
      Category
      Status