init: also apply limiter for non-HTTP backend

This commit is contained in:
Michael Eischer 2024-04-24 20:42:30 +02:00
parent 6c6dceade3
commit 5f263752d7
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ func innerOpen(ctx context.Context, s string, gopts GlobalOptions, opts options.
var be backend.Backend
if create {
be, err = factory.Create(ctx, cfg, rt, nil)
be, err = factory.Create(ctx, cfg, rt, lim)
} else {
be, err = factory.Open(ctx, cfg, rt, lim)
}