synapsecns/sanguine

View on GitHub
core/retry/retry.go

Summary

Maintainability
A
35 mins
Test Coverage

Function WithBackoff has 5 return statements (exceeds 4 allowed).
Open

func WithBackoff(ctx context.Context, doFunc RetryableFunc, configurators ...WithBackoffConfigurator) error {
    config := defaultConfig()

    for _, configurator := range configurators {
        configurator(&config)
Severity: Major
Found in core/retry/retry.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status