From a1d33fac6d36f4ff030d4393440915be2be2f402 Mon Sep 17 00:00:00 2001 From: mina1460 Date: Mon, 29 Jan 2024 11:55:20 +0200 Subject: [PATCH] use max of 1 and x not min --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index 3ad0f02c8..2619e49d1 100644 --- a/service.go +++ b/service.go @@ -322,7 +322,7 @@ func NewService(ctx context.Context, p Params) (*Service, error) { Config: nil, Db: &s.jimm.Database, DbUrl: p.DSN, - MaxAttempts: 5, // because this is a unit test + MaxAttempts: 5, OfgaClient: s.jimm.OpenFGAClient, } s.jimm.River, err = jimm.NewRiver(ctx, riverArgs)